[ https://issues.apache.org/jira/browse/KAFKA-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009172#comment-17009172 ]
Andrew Otto commented on KAFKA-9369: ------------------------------------ You could use the client.id configuration property when you instantiate your client [https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-Requests] [https://groups.google.com/forum/#!topic/kafka-clients/O2POKeq1EUE] > Allow Consumers and Producers to Connect with User-Agent String > --------------------------------------------------------------- > > Key: KAFKA-9369 > URL: https://issues.apache.org/jira/browse/KAFKA-9369 > Project: Kafka > Issue Type: Improvement > Reporter: David Mollitor > Priority: Minor > > Given the adhoc nature of consumers and producers in Kafka, it can be > difficult to track where connections to brokers and partitions are coming > from. > > Please allow consumers and producers to pass an optional _user-agent_ string > during the connection process so that they can quickly and accurately be > identified. For example, if I am performing an upgrade on my consumers, I > want to be able to see that no consumers with an older version number of the > consuming software still exist or if I see an application that is configured > to consumer from the wrong consumer group, they can quickly be identified and > removed. > > [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent] -- This message was sent by Atlassian Jira (v8.3.4#803005)