[
https://issues.apache.org/jira/browse/KAFKA-9411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantine Karantasis updated KAFKA-9411:
------------------------------------------
Labels: needs-kip (was: )
> Change Name of Default Client ID and Include Java Version
> ---------------------------------------------------------
>
> Key: KAFKA-9411
> URL: https://issues.apache.org/jira/browse/KAFKA-9411
> Project: Kafka
> Issue Type: Improvement
> Components: clients
> Reporter: David Mollitor
> Priority: Major
> Labels: needs-kip
>
> Clients and producers should be providing useful {{clientId}} information,
> including software name and version number. With that said, Kafka Java
> client should produce a more useful ID to include the word 'Java' and the
> version number of the JVM. Also, allow users to take advantage of the same
> sequence number that is currently available to the default naming scheme.
>
> The current default behavior for generating clientID in Kafka is the
> following:
> {{consumer- + CONSUMER_CLIENT_ID_SEQUENCE.getAndIncrement()}}
> So the current default is to create a dynamically changing consumer ID.
> The change proposed in this JIRA is three fold:
> * Change the default clientID from {{consumer}} to {{Java-kafka-client}}
> * Include the version of Java in the clientID
> * Allow users to set the consumer ID to whatever they would like, but
> maintain the ability to include the sequence number
> So, this does not break any current behaviors. It just adds additional
> context to the default value.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)