[
https://issues.apache.org/jira/browse/KAFKA-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias J. Sax updated KAFKA-4722:
-----------------------------------
Description:
StreamThread currently sets its name thusly:
{code}
super("StreamThread-" + STREAM_THREAD_ID_SEQUENCE.getAndIncrement());
{code}
If you have multiple {{KafkaStreams}} instance within a single application, it
would help to add the application ID to StreamThread thread name to identify
which thread belong to what KafkaStreams instance.
was:
StreamThread currently sets its name thusly:
{code}
super("StreamThread-" + STREAM_THREAD_ID_SEQUENCE.getAndIncrement());
{code}
When you have multiple KStream / KTables in an application, it would be nice to
customize the "StreamThread" prefix. The id is a good start but a
human-recognizable name would make logs much easier to read.
> Add application.id to StreamThread name
> ---------------------------------------
>
> Key: KAFKA-4722
> URL: https://issues.apache.org/jira/browse/KAFKA-4722
> Project: Kafka
> Issue Type: New Feature
> Components: streams
> Affects Versions: 0.10.1.1
> Reporter: Steven Schlansker
> Labels: beginner, easyfix, newbie
>
> StreamThread currently sets its name thusly:
> {code}
> super("StreamThread-" + STREAM_THREAD_ID_SEQUENCE.getAndIncrement());
> {code}
> If you have multiple {{KafkaStreams}} instance within a single application,
> it would help to add the application ID to StreamThread thread name to
> identify which thread belong to what KafkaStreams instance.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)