shibd commented on a change in pull request #11986:
URL: https://github.com/apache/pulsar/pull/11986#discussion_r711977080
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/PersistentTopics.java
##########
@@ -786,6 +786,9 @@ public PartitionedTopicMetadata getPartitionedMetadata(
@ApiParam(value = "Is check configuration required to
automatically create topic")
@QueryParam("checkAllowAutoCreation") @DefaultValue("false")
boolean checkAllowAutoCreation) {
validateTopicName(tenant, namespace, encodedTopic);
+ if (authoritative && checkAllowAutoCreation) {
Review comment:
sorry, I got it wrong. I changed it back.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]