AndrewJSchofield commented on code in PR #23930:
URL: https://github.com/apache/kafka/pull/23930#discussion_r4371641806


##########
clients/src/main/java/org/apache/kafka/clients/consumer/MockConsumer.java:
##########
@@ -151,9 +151,9 @@ public synchronized void 
rebalance(Collection<TopicPartition> newAssignment) {
     }
 
     /**
-     * Simulates a partition loss event. Calls {@link 
ConsumerRebalanceListener#onPartitionsLost}
+     * Simulates a partition loss event. Calls {@link 
RebalanceListener#onPartitionsLost}
      * for the specified partitions and removes them from the current 
assignment. Unlike
-     * {@link #rebalance(Collection)}, which calls {@link 
ConsumerRebalanceListener#onPartitionsRevoked},
+     * {@link #rebalance(Collection)}, which calls {@link 
RebalanceListener#onPartitionsRevoked},
      * this method models the case where the consumer loses partitions without 
a graceful revoke..

Review Comment:
   nit: Duplicated `.` at the end of the sentence probably ought to be tidied 
up too :) 



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