You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Antony Stubbs (JIRA)" <ji...@apache.org> on 2018/05/25 12:25:00 UTC

[jira] [Updated] (KAFKA-6943) Have option to shutdown KS cleanly if any threads crashes, or if all threads crash

     [ https://issues.apache.org/jira/browse/KAFKA-6943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antony Stubbs updated KAFKA-6943:
---------------------------------
    Description: 
ATM users have to implement this themselves. Might be nice to have an option to configure that if all threads crash, or if any crash, to initiate clean shutdown.

This also has a gotcha where atm if you call KS#close without a timeout, from the uncaught exception handler, you dead lock.

  was:
ATM users have to implement this themselves. Might be nice to have an option to configure that if all tasks crash, or if any crash, to initiate clean shutdown.

This also has a gotcha where atm if you call KS#close without a timeout, from the uncaught exception handler, you dead lock.


> Have option to shutdown KS cleanly if any threads crashes, or if all threads crash
> ----------------------------------------------------------------------------------
>
>                 Key: KAFKA-6943
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6943
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>    Affects Versions: 1.1.0
>            Reporter: Antony Stubbs
>            Priority: Major
>
> ATM users have to implement this themselves. Might be nice to have an option to configure that if all threads crash, or if any crash, to initiate clean shutdown.
> This also has a gotcha where atm if you call KS#close without a timeout, from the uncaught exception handler, you dead lock.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)