AnonHxy commented on code in PR #17946:
URL: https://github.com/apache/pulsar/pull/17946#discussion_r1002453328
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/resources/NamespaceResources.java:
##########
@@ -242,6 +242,12 @@ public PartitionedTopicResources(MetadataStore
configurationStore, int operation
super(configurationStore, PartitionedTopicMetadata.class,
operationTimeoutSec);
}
+ public void updatePartitionedTopic(TopicName tn,
Function<PartitionedTopicMetadata,
Review Comment:
There is no need to add this method, because it seems that it only be called
in the test.
My suggestion is that we could use `updatePartitionedTopicAsync().get()`
instead of creating this new method
--
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]