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 2020/03/04 11:00:06 UTC
[GitHub] [pulsar] sakthi-prasad opened a new issue #6468: Unable to create
partitioned topic which is a substring of an existing topic
sakthi-prasad opened a new issue #6468: Unable to create partitioned topic which is a substring of an existing topic
URL: https://github.com/apache/pulsar/issues/6468
**Describe the bug**
Unable to create partitioned topic which is a substring of an existing topic
**To Reproduce**
1. Create a partitioned topic using below command
_**./pulsar-admin topics create-partitioned-topic persistent://public/default/create_substring_topic -p 1**_
2. Create another partitioned topic using below command. The topic name is a substring of above created topic
_**./pulsar-admin topics create-partitioned-topic persistent://public/default/substring_topic -p 1**_
Below error is thrown in the console
10:14:38.692 [AsyncHttpClient-5-1] WARN org.apache.pulsar.client.admin.internal.BaseResource - [https://itomdipulsar-proxy:8443/admin/v2/persistent/public/default/substring_topic/partitions] Failed to perform http put request: javax.ws.rs.ClientErrorException: HTTP 412 Precondition Failed
Already have topic persistent://public/default/create_substring_topic-partition-0 which contains partition suffix '-partition-' and end with numeric value, Creation of partitioned topic substring_topic could cause conflict.
Reason: Already have topic persistent://public/default/create_substring_topic-partition-0 which contains partition suffix '-partition-' and end with numeric value, Creation of partitioned topic substring_topic could cause conflict.
**Expected behavior**
Partitioned topic should get created even if its a substring of existing topic
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] codelipenghui closed issue #6468: Unable to create
partitioned topic which is a substring of an existing topic
Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #6468: Unable to create partitioned topic which is a substring of an existing topic
URL: https://github.com/apache/pulsar/issues/6468
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] sijie commented on issue #6468: Unable to create
partitioned topic which is a substring of an existing topic
Posted by GitBox <gi...@apache.org>.
sijie commented on issue #6468: Unable to create partitioned topic which is a substring of an existing topic
URL: https://github.com/apache/pulsar/issues/6468#issuecomment-594678993
Confirmed that this behavior doesn't exist in pre-2.5.0 release. But it seems that 2.5.0 brought in some regressions. @codelipenghui
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services