You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Bhavesh Mistry (JIRA)" <ji...@apache.org> on 2014/10/09 00:19:33 UTC

[jira] [Commented] (KAFKA-1692) [Java New Producer] IO Thread Name Must include Client ID

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

Bhavesh Mistry commented on KAFKA-1692:
---------------------------------------

Description is just suggestion.  Sorry could not submit path since I have release next week.

Thanks,

Bhavesh

> [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: Jun Rao
>            Priority: Trivial
>
> 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)