[
https://issues.apache.org/jira/browse/KAFKA-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168831#comment-14168831
]
Neha Narkhede edited comment on KAFKA-1692 at 10/12/14 11:00 PM:
-----------------------------------------------------------------
Thanks for the patch. Pushed to trunk and 0.8.2
was (Author: nehanarkhede):
Thanks for the patch. Pushed to trunk
> [Java New Producer] IO Thread Name Must include Client ID
> -----------------------------------------------------------
>
> Key: KAFKA-1692
> URL: https://issues.apache.org/jira/browse/KAFKA-1692
> Project: Kafka
> Issue Type: Improvement
> Components: producer
> Affects Versions: 0.8.2
> Reporter: Bhavesh Mistry
> Assignee: Ewen Cheslack-Postava
> Priority: Trivial
> Labels: newbie
> Attachments: KAFKA-1692.patch
>
>
> Please add client id so people who are looking at Jconsole or Profile tool
> can see Thread by client id since single JVM can have multiple producer
> instance.
> org.apache.kafka.clients.producer.KafkaProducer
> {code}
> String ioThreadName = "kafka-producer-network-thread";
> if(clientId != null){
> ioThreadName = ioThreadName + " | "+clientId;
> }
> this.ioThread = new KafkaThread(ioThreadName, this.sender, true);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)