eolivelli commented on code in PR #16545:
URL: https://github.com/apache/pulsar/pull/16545#discussion_r930102273
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java:
##########
@@ -1569,6 +1590,63 @@ private void
internalDeleteSubscriptionForNonPartitionedTopic(AsyncResponse asyn
});
}
+ private void
internalAnalyzeSubscriptionBacklogForNonPartitionedTopic(AsyncResponse
asyncResponse,
+
String subName,
+
Optional<Position> position,
+
boolean authoritative) {
+ validateTopicOwnershipAsync(topicName, authoritative)
+ .thenRun(() -> validateTopicOperation(topicName,
TopicOperation.CONSUME))
Review Comment:
@mattisonchao done.
thanks for the pointer
--
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]