adikou commented on code in PR #23108:
URL: https://github.com/apache/kafka/pull/23108#discussion_r4232640865


##########
clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java:
##########
@@ -3266,35 +3290,35 @@ private KafkaConsumer<String, String> 
consumerWithPendingError(GroupProtocol gro
         return consumerWithPendingAuthenticationError(groupProtocol, time);
     }
 
-    private ConsumerRebalanceListener getConsumerRebalanceListener(final 
KafkaConsumer<?, ?> consumer) {
-        return new ConsumerRebalanceListener() {
+    private RebalanceListener getConsumerRebalanceListener(final 
KafkaConsumer<?, ?> consumer) {

Review Comment:
   fixed, renamed.



##########
clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java:
##########
@@ -3266,35 +3290,35 @@ private KafkaConsumer<String, String> 
consumerWithPendingError(GroupProtocol gro
         return consumerWithPendingAuthenticationError(groupProtocol, time);
     }
 
-    private ConsumerRebalanceListener getConsumerRebalanceListener(final 
KafkaConsumer<?, ?> consumer) {
-        return new ConsumerRebalanceListener() {
+    private RebalanceListener getConsumerRebalanceListener(final 
KafkaConsumer<?, ?> consumer) {
+        return new RebalanceListener() {
             @Override
-            public void onPartitionsRevoked(Collection<TopicPartition> 
partitions) {
+            public void onPartitionsRevoked(Collection<TopicPartition> 
partitions, RebalanceConsumer rebalanceConsumer) {
             }
 
             @Override
-            public void onPartitionsAssigned(Collection<TopicPartition> 
partitions) {
+            public void onPartitionsAssigned(Collection<TopicPartition> 
partitions, RebalanceConsumer rebalanceConsumer) {
                 // set initial position so we don't need a lookup
                 for (TopicPartition partition : partitions)
                     consumer.seek(partition, 0);
             }
         };
     }
 
-    private ConsumerRebalanceListener getExceptionConsumerRebalanceListener() {
-        return new ConsumerRebalanceListener() {
+    private RebalanceListener getExceptionConsumerRebalanceListener() {

Review Comment:
   fixed, renamed.



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