Fix method comment for class Topics
@@ -174,12 +174,9 @@ public interface Topics {
* Topic url
* @param role
* Client role to which remove permission
- * @throws UniformInterfaceException
- * if the operations was not successful
- *
* @throws NotAuthorizedException
* Don't have admin permission
- * @throws NotFound
+ * @throws NotFoundException
* Namespace does not exist
* @throws PreconditionFailedException
* Permissions are not set at the topic level
@@ -517,7 +514,7 @@ public interface Topics {
* "msgRateIn" : 100.0,
* "msgThroughputIn" : 10240.0,
* "msgRateOut" : 100.0,
- * "msghroughputOut" : 10240.0,
+ * "msgThroughputOut" : 10240.0,
* "replicationBacklog" : 0,
* "connected" : true,
* }
@@ -698,7 +695,7 @@ public interface Topics {
* Get the stats for the partitioned topic
*
* @param topic
- * @param perPartition
+ * topic name
* @return
* @throws PulsarAdminException
*/
@@ -822,7 +819,7 @@ public interface Topics {
*
* @param topic
* topic name
- * @param subName
+ * @param subscriptionName
* Subscription name
* @param expireTimeInSeconds
* Expire messages older than time in seconds
@@ -837,7 +834,7 @@ public interface Topics {
*
* @param topic
* topic name
- * @param subName
+ * @param subscriptionName
* Subscription name
* @param expireTimeInSeconds
* Expire messages older than time in seconds
@@ -1000,7 +997,7 @@ public interface Topics {
* topic name
* @param subName
* Subscription name
- * @param MessageId
+ * @param messageId
* reset subscription to messageId (or previous nearest messageId if given messageId is not valid)
*/
CompletableFuture<Void> resetCursorAsync(String topic, String subName, MessageId messageId);
