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

KafkaProducer with transactionId endless waits when bootstrap server is down

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.11.0.0, 1.0.0
    • 2.0.0
    • clients, producer

    Description

      When bootstrap server is down, a KafkaProducer with transactionId endless waits on initTransactions. 

      The timeouts don't apply to that operation: don't honor the TRANSACTION_TIMEOUT_CONFIG.

      Attached an example of my code to reproduce the scenario.

       

      I opened this issue as suggested by Gary Russell

      https://stackoverflow.com/questions/48226546/defaultkafkaproducerfactory-with-transactionidprefix-endless-waits-when-bootstra

       

      Attachments

        1. Test.java
          1 kB
          Eduardo Sciullo

        Issue Links

          Activity

            People

              huxi_2b huxihx
              edosciullo Eduardo Sciullo
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: