You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2018/03/07 20:15:00 UTC
[jira] [Created] (KAFKA-6621) Update Streams docs with details for
UncaughtExceptionHandler
Matthias J. Sax created KAFKA-6621:
--------------------------------------
Summary: Update Streams docs with details for UncaughtExceptionHandler
Key: KAFKA-6621
URL: https://issues.apache.org/jira/browse/KAFKA-6621
Project: Kafka
Issue Type: Improvement
Components: documentation, streams
Reporter: Matthias J. Sax
We should update the docs to explain that calling {{KafkaStreams#close()}} within the UncaughtExceptionHandler-callback might result in a deadlock and one should always specify a timeout parameter for this case.
As an alternative to avoid the deadlock, setting a flag in the handler and calling {{#close}} outside of the callback should also work.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)