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

KafkaProducer.send() may block even though it returns the Future

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: producer

      Description

      You can get more details from the users@kafka.apache.org by searching on the thread with the subject "KafkaProducer block on send".
      The bottom line is that method that returns Future must never block, since it essentially violates the Future contract as it was specifically designed to return immediately passing control back to the user to check for completion, cancel etc.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ozhurakousky Oleg Zhurakousky
              • Votes:
                8 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated: