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/09/08 08:09:39 UTC

[GitHub] [pulsar] jiazhai commented on issue #5148: Validate topic name before creating partition/non partition topic via admin cli.

jiazhai commented on issue #5148: Validate topic name before creating partition/non partition topic via admin cli.
URL: https://github.com/apache/pulsar/pull/5148#issuecomment-529180493
 
 
   @MarvinCai Thanks for the help.
   I have one concern for non-partitioned topic creation:
   In command `partitioned topic create`, it will only create a node in zookeeper, and real topic creation is not included in that command; while `non-partitioned topic create` command will create the real one with managedLedger etc.
   So some times it is still useful to use `non-partitioned topic create` command to create topic, with name like "my-topic-name-partition-123".  I would suggest we check that 
   - the partition topic name "my-topic-name" already created in zookeeper;
   - partition number("123" in this example) is smaller than the partition number.

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