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

Empty topic list causes consumer to fetch metadata of all topics

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment