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

Newly added topic or partitions are not assigned to running consumer groups using static membership

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.6.0
    • None
    • consumer
    • None

    Description

      If consumers are polling messages from a certain topic with static membership and we add new partitions to this topic while the consumers are running, no partition reassignment is ever triggered (and hence messages published into the new partitions are never consumed). 

      To reproduce, simply set group instance IDs on the consumers: 

      props.setProperty("group.instance.id", instanceId);
      

      And then while the static consumers are running, use Kafka's admin client to add more partitions to the topic:

      adminClient.createPartitions(...)
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mou@ea Marlon Ou
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: