[ 
https://issues.apache.org/jira/browse/KAFKA-21282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bill Bejeck updated KAFKA-21282:
--------------------------------
    Description: {\{ThreadMetadata.restoreConsumerClientId()}} returns 
\{{<clientId>-StreamThread-<n>-restore-consumer}}. Since KAFKA-17744 (4.0.0), 
the restore consumer is actually created with the StateUpdater id, 
\{{<clientId>-StateUpdater-<n>-restore-consumer}}. That's the id the consumer 
uses for its metrics \{{client-id}} tag, its logs, and its broker requests.  
(was: ThreadMetadata.restoreConsumerClientId() returns 
<clientId>-StreamThread-<n>-restore-consumer.  The restore consumer is actually 
created with the StateUpdater id, <clientId>-StateUpdater-<n>-restore-consumer.)

> ThreadMetadata.restoreConsumerClientId() returns the wrong client id for the 
> restore consumer
> ---------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-21282
>                 URL: https://issues.apache.org/jira/browse/KAFKA-21282
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Bill Bejeck
>            Assignee: Bill Bejeck
>            Priority: Major
>             Fix For: 4.5.0
>
>
> {\{ThreadMetadata.restoreConsumerClientId()}} returns 
> \{{<clientId>-StreamThread-<n>-restore-consumer}}. Since KAFKA-17744 (4.0.0), 
> the restore consumer is actually created with the StateUpdater id, 
> \{{<clientId>-StateUpdater-<n>-restore-consumer}}. That's the id the consumer 
> uses for its metrics \{{client-id}} tag, its logs, and its broker requests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to