MarvinCai commented on code in PR #16692:
URL: https://github.com/apache/pulsar/pull/16692#discussion_r925390252


##########
pulsar-client-admin-api/src/main/java/org/apache/pulsar/client/admin/Topics.java:
##########
@@ -3697,6 +3851,7 @@ void setInactiveTopicPolicies(String topic
      * @param topic Topic name
      * @param maxConsumers Max number of consumer
      * @throws PulsarAdminException Unexpected error
+     * @deprecated Use {@link TopicPolicies#setMaxConsumers(String, int)} 
instead.

Review Comment:
   ```suggestion
        * @deprecated Use {@link TopicPolicies#setMaxConsumersAsync(String, 
int)} instead.
   ```



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

Reply via email to