You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2019/10/15 21:54:00 UTC
[jira] [Resolved] (KAFKA-9033) Change default client-id in consumer
/ producer to be more meaningful
[ https://issues.apache.org/jira/browse/KAFKA-9033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gustafson resolved KAFKA-9033.
------------------------------------
Fix Version/s: 2.4.0
Resolution: Fixed
> Change default client-id in consumer / producer to be more meaningful
> ---------------------------------------------------------------------
>
> Key: KAFKA-9033
> URL: https://issues.apache.org/jira/browse/KAFKA-9033
> Project: Kafka
> Issue Type: Improvement
> Components: clients
> Reporter: Guozhang Wang
> Assignee: Jason Gustafson
> Priority: Major
> Fix For: 2.4.0
>
>
> Right now in consumer / producer, the default client-id is set as {{consumer-[suffix]}} and {{producer-[suffix]}} which is not very meaningful; on the other hand, since client-ids will be shown on the broker request logs it can be very useful for debugging purposes.
> So I'd propose we change their default values as the following:
> 1. For producer:
> {{producer-[transactionalId]-[suffix]}} where {{transactionalId}} would be set to {{none}} if null.
> 2. For consumer:
> {{consumer-[groupId]-[instanceId or suffix]}} where {{groupId}} would be set to {{none}} if null, and {{suffix}} would only be used if {{instanceId}} is set to null.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)