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/01/13 09:33:38 UTC

[GitHub] foreversunyao opened a new pull request #3365: create_topic_with_check_namespaces_cluster

foreversunyao opened a new pull request #3365: create_topic_with_check_namespaces_cluster
URL: https://github.com/apache/pulsar/pull/3365
 
 
   ### Motivation
   
   add check namespaces already have the cluster assigned when create topic.
   
   **the old way**:
   creating topic will not check  if namespaces have broker cluster assigned, but after you created topic successfully , and ran **./pulsar-admin topics list tenant/namespace**, it will prompt **Namespace does not have any clusters configured : local_cluster=** and show nothing.
   
   **the good way**:
   check the namespace has already assigned to broker cluster when you are trying to create the topic.
   
   ### Modifications
   
   NonPersistentTopics.java and PersistentTopics.java for admin v2 interface
   
   ### Result
   
   After your change, what will change.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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