You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2026/08/03 19:29:00 UTC
[jira] [Assigned] (KAFKA-20869) KafkaStreams#addStreamsThread crashed global-task-only client
[ https://issues.apache.org/jira/browse/KAFKA-20869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax reassigned KAFKA-20869:
---------------------------------------
Assignee: Yunseop Eom
> KafkaStreams#addStreamsThread crashed global-task-only client
> -------------------------------------------------------------
>
> Key: KAFKA-20869
> URL: https://issues.apache.org/jira/browse/KAFKA-20869
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Reporter: Matthias J. Sax
> Assignee: Yunseop Eom
> Priority: Minor
>
> KafkaStreams allows to run a "global only" topology. For this case, `KafkaStreams#start()` won't spin up any StreamsThreads (independent of `num.stream.threads` config) and only run the global-thread.
> However, addStreamsThread() has not guard for this case, and if called would create a new StreamThread which immediately crashes, taking down the whole client (with the default uncaught exception handler).
> It's even worse if the exception handler returns replace-thread, and we end up in an infinite error-loop...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)