You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Walker Carlson (Jira)" <ji...@apache.org> on 2021/01/29 20:53:00 UTC
[jira] [Resolved] (KAFKA-10015) React Smartly to Unexpected Errors
on Stream Threads
[ https://issues.apache.org/jira/browse/KAFKA-10015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Walker Carlson resolved KAFKA-10015.
------------------------------------
Resolution: Fixed
> React Smartly to Unexpected Errors on Stream Threads
> ----------------------------------------------------
>
> Key: KAFKA-10015
> URL: https://issues.apache.org/jira/browse/KAFKA-10015
> Project: Kafka
> Issue Type: Improvement
> Components: streams
> Affects Versions: 2.5.0
> Reporter: Bruno Cadonna
> Assignee: Walker Carlson
> Priority: Major
> Labels: kip
>
> Currently, if an unexpected error occurs on a stream thread, the stream thread dies, a rebalance is triggered, and the Streams' client continues to run with less stream threads.
> Some errors trigger a cascading of stream thread death, i.e., after the rebalance that resulted from the death of the first thread the next thread dies, then a rebalance is triggered, the next thread dies, and so forth until all stream threads are dead and the instance shuts down. Such a chain of rebalances could be avoided if an error could be recognized as the cause of cascading stream deaths and as a consequence the Streams' client could be shut down after the first stream thread death.
> On the other hand, some unexpected errors are transient and the stream thread could safely be restarted without causing further errors and without the need to restart the Streams' client.
> The goal of this ticket is to classify errors and to automatically react to the errors in a way to avoid cascading deaths and to recover stream threads if possible.
> KIP-663: [https://cwiki.apache.org/confluence/display/KAFKA/KIP-663%3A+API+to+Start+and+Shut+Down+Stream+Threads]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)