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

Async producer is not async when not connected

    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

          People

            junrao Jun Rao
            emn Erik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: