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

Async producer is not async when not connected

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.0.0, 0.11.0.0, 1.0.0
    • None
    • producer

    Description

      The new producer is not fully asynchronous. For instance, if the producer isn't yet connected to a Kafka server, the send() will stall until connected or a timeout. This is due to synchronously requesting metadata. Ideally, the send() function should always return immediately and any timeouts or errors communicated via the returned Future or the Callback.

      Attachments

        Activity

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

          People

            junrao Jun Rao
            emn Erik

            Dates

              Created:
              Updated:

              Issue deployment