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

Empty topic list causes consumer to fetch metadata of all topics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • None
    • None
    • None

    Description

      The ClientUtils fetches metadata for all topics if the topic set is empty.

      If the topic list of a consumer is empty, the following happens if a rebalance is triggered:

      • The fetcher is restarted, fetcher.startConnections() starts a LeaderFinderThread
      • LeaderFinderThread waits on a condition
      • fetcher.startConnections() signals the aforementioned condition
      • LeaderFinderThread obtains metadata for all topics since the topic list is empty.

      Attachments

        1. KAFKA-1087.patch
          0.7 kB
          Swapnil Ghike

        Activity

          People

            swapnilghike Swapnil Ghike
            swapnilghike Swapnil Ghike
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: