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

Consumer SubscriptionState missing synchronization

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: consumer
    • Labels:
      None

      Description

      ConsumerCoordinator installs a Metadata.Listener in order to update pattern subscriptions after metadata changes. The listener is invoked from NetworkClient.poll, which could happen in the heartbeat thread. Currently, however, there is no synchronization in SubscriptionState to make this safe.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hachikuji Jason Gustafson
                Reporter:
                hachikuji Jason Gustafson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: