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:
[email protected]


With regards,
Apache Git Services

Reply via email to