pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] leizhiyuan commented on issue #11502: REST API Create topic returns a 204 instead of 409 for duplicate topics
Date Thu, 05 Aug 2021 08:48:05 GMT

leizhiyuan commented on issue #11502:
URL: https://github.com/apache/pulsar/issues/11502#issuecomment-893282282


   ```
   (base) ➜  apache-pulsar-2.8.0 ./bin/pulsar-admin topics create-partitioned-topic -p 1
persistent://public/default/test-duplicate
   (base) ➜  apache-pulsar-2.8.0 ./bin/pulsar-admin topics create-partitioned-topic -p 1
persistent://public/default/test-duplicate
   16:46:47.759 [AsyncHttpClient-7-1] WARN  org.apache.pulsar.client.admin.internal.BaseResource
- [http://localhost:8080/admin/v2/persistent/public/default/test-duplicate/partitions] Failed
to perform http put request: javax.ws.rs.ClientErrorException: HTTP 409 Conflict
   This topic already exists
   
   Reason: This topic already exists
   ```
   partitioned topic is ok.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message