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 2019/10/15 02:53:29 UTC

[GitHub] [pulsar] MarvinCai commented on a change in pull request #5148: Validate topic name before creating partition/non partition topic via admin cli.

MarvinCai commented on a change in pull request #5148: Validate topic name before creating partition/non partition topic via admin cli.
URL: https://github.com/apache/pulsar/pull/5148#discussion_r334733254
 
 

 ##########
 File path: site2/docs/admin-api-partitioned-topics.md
 ##########
 @@ -80,6 +88,12 @@ command and specifying the topic name as an argument. This is an example command
 $ bin/pulsar-admin topics create persistent://my-tenant/my-namespace/my-topic
 ``` 
 
+> #### Note
+>
+> It's only allow to create non partitioned topic of name contains suffix '-partition-' followed by numeric value like
+> 'xyz-topic-partition-10', if there's already a partitioned topic with same name, in this case 'xyz-topic', and has
+> number of partition larger then that numeric value in this case 10. Else creation of such topic will fail.
 
 Review comment:
   updated.

----------------------------------------------------------------
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