Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6968

Call RebalanceListener in MockConsumer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.0
    • None
    • consumer
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrasbeni Andras Beni
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: