Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-264 Change the consumer side load balancing and distributed co-ordination to use a consumer co-ordinator
  3. KAFKA-265

Add a queue of zookeeper notifications in the zookeeper consumer to reduce the number of rebalancing attempts

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.7.1
    • core
    • None

    Description

      The correct fix for KAFKA-262 and other known issues with the current consumer rebalancing approach, is to get rid of the cache in the zookeeper consumer.
      The side-effect of that fix, though, is the large number of zookeeper notifications that will trigger a full rebalance operation on the consumer.

      Ideally, the zookeeper notifications can be batched and only one rebalance operation can be triggered for several such ZK notifications.

      Attachments

        1. kafka-265_shutdown.patch
          1 kB
          Jun Rao
        2. kafka-265_await_fix.patch
          0.6 kB
          Jun Rao
        3. kafka-265_v2.patch
          2 kB
          Jun Rao
        4. kafka-265.patch
          3 kB
          Jun Rao

        Activity

          People

            junrao Jun Rao
            nehanarkhede Neha Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified