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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • 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

              Unassigned Unassigned
              ozhurakousky Oleg Zhurakousky
              Votes:
              9 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated: