[ 
https://issues.apache.org/jira/browse/KAFKA-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849195#comment-15849195
 ] 

Matthias J. Sax commented on KAFKA-4722:
----------------------------------------

I see. I guess, we could add the {{application.id}} to the thread name. Would 
this resolve your issue?

> StreamThread should allow customization of thread prefix
> --------------------------------------------------------
>
>                 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
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to