Kafka
  1. Kafka
  2. KAFKA-1087

Empty topic list causes consumer to fetch metadata of all topics

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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.
      1. KAFKA-1087.patch
        0.7 kB
        Swapnil Ghike

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Swapnil Ghike
            Reporter:
            Swapnil Ghike
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development