You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/08/05 08:48:05 UTC

[GitHub] [pulsar] leizhiyuan commented on issue #11502: REST API Create topic returns a 204 instead of 409 for duplicate topics

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