You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Igor Baltiyskiy (Jira)" <ji...@apache.org> on 2020/05/08 11:33:00 UTC

[jira] [Commented] (KAFKA-6968) Call RebalanceListener in MockConsumer

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

Igor Baltiyskiy commented on KAFKA-6968:
----------------------------------------

Hi Eduardo - good work with this one, any chance to get it merged?

> 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
(v8.3.4#803005)