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 2021/01/22 05:25:44 UTC

[GitHub] [pulsar] 315157973 commented on a change in pull request #9272: Fix system topic can not auto created

315157973 commented on a change in pull request #9272:
URL: https://github.com/apache/pulsar/pull/9272#discussion_r562395616



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -2420,6 +2421,10 @@ public boolean isAllowAutoTopicCreation(final String topic) {
     }
 
     public boolean isAllowAutoTopicCreation(final TopicName topicName) {
+        //System topic can always be created automatically
+        if (EventsTopicNames.NAMESPACE_EVENTS_LOCAL_NAME.equals(topicName.getLocalName())) {

Review comment:
       Sorry, I overlooked this 




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