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

KafkaProducer with transactionId endless waits when bootstrap server is down

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.11.0.0, 1.0.0
    • Fix Version/s: 2.0.0
    • Component/s: clients, producer
    • Labels:

      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

              • Assignee:
                huxi_2b huxihx
                Reporter:
                edosciullo Eduardo Sciullo
              • Votes:
                5 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: