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

Consumer should not block in poll on coordinator discovery

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • consumer
    • None

    Description

      Currently we block indefinitely in poll() when discovering the coordinator for the group. Instead, we can return an empty record set when the passed timeout expires. The downside is that it may obscure the underlying problem (which is usually misconfiguration), but users typically have to look at the logs to figure out the problem anyway.

      Attachments

        Issue Links

        Activity

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

          People

            hachikuji Jason Gustafson
            hachikuji Jason Gustafson
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment