You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/05/05 16:42:00 UTC
[jira] [Resolved] (KAFKA-20546) Lazily call generateNewClientId when handling GetTelemetrySubscriptionsRequest
[ https://issues.apache.org/jira/browse/KAFKA-20546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-20546.
------------------------------------
Fix Version/s: 4.4.0
Resolution: Fixed
> Lazily call generateNewClientId when handling GetTelemetrySubscriptionsRequest
> ------------------------------------------------------------------------------
>
> Key: KAFKA-20546
> URL: https://issues.apache.org/jira/browse/KAFKA-20546
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Bolin Lin
> Priority: Minor
> Fix For: 4.4.0
>
>
> KIP-1313 will let GetTelemetrySubscriptionsRequest carry the client instance id, so it is time to apply the lazy policy
> https://cwiki.apache.org/confluence/x/Jpc8G
> related code: https://github.com/apache/kafka/blob/trunk/server/src/main/java/org/apache/kafka/server/ClientMetricsManager.java#L165
> Uuid clientInstanceId = Optional.ofNullable(request.data().clientInstanceId())
> .filter(id -> !id.equals(Uuid.ZERO_UUID))
> .orElse(generateNewClientId());
--
This message was sent by Atlassian Jira
(v8.20.10#820010)