You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Andras Beni (JIRA)" <ji...@apache.org> on 2018/05/30 08:09:00 UTC

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

Andras Beni created KAFKA-6968:
----------------------------------

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


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