[ 
https://issues.apache.org/jira/browse/KAFKA-6968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526384#comment-16526384
 ] 

Bhagya Lakshmi Gummalla commented on KAFKA-6968:
------------------------------------------------

[~andrasbeni] Is this still an issue and does it need to be worked on?

 

> Call RebalanceListener in MockConsumer
> --------------------------------------
>
>                 Key: KAFKA-6968
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6968
>             Project: Kafka
>          Issue Type: Improvement
>          Components: consumer
>    Affects Versions: 1.1.0
>            Reporter: Andras Beni
>            Priority: Minor
>
> {{org.apache.kafka.clients.consumer.MockConsumer}} simulates rebalance with 
> method {{public synchronized void rebalance(Collection<TopicPartition> 
> newAssignment)}}. This method does not call {{ConsumerRebalanceListener}} 
> methods. Calls to {{onPartitionsRevoked(...)}} and 
> {{onPartitionsAssigned(...)}} should be added in appropriate order.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to