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

KafkaStreams does not pass timeout when closing Producer

    XMLWordPrintableJSON

Details

    Description

      KIP WIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-459%3A+Improve+KafkaStreams%23close

      https://confluentcommunity.slack.com/messages/C48AHTCUQ/convo/C48AHTCUQ-1550831721.026100/

      We are running 2.1 and have a case where the shutdown of a streams application takes several minutes
      I noticed that although we call streams.close with a timeout of 30 seconds the log says
      [Producer clientId=…-8be49feb-8a2e-4088-bdd7-3c197f6107bb-StreamThread-1-producer] Closing the Kafka producer with timeoutMillis = 9223372036854775807 ms.

      Matthias J Sax [vor 3 Tagen]
      I just checked the code, and yes, we don't provide a timeout for the producer on close()...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkleindl Patrik Kleindl
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: