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 2024/12/14 03:51:00 UTC

[jira] [Created] (KAFKA-18239) Passing `Cluster` to ClientQuotaCallback#updateClusterMetadata is too expensive

Chia-Ping Tsai created KAFKA-18239:
--------------------------------------

             Summary: Passing `Cluster` to ClientQuotaCallback#updateClusterMetadata  is too expensive
                 Key: KAFKA-18239
                 URL: https://issues.apache.org/jira/browse/KAFKA-18239
             Project: Kafka
          Issue Type: New Feature
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


`Cluster` is a immutable object with a bunch of information, and in kraft mode we will create a new `Cluster` for every bit change of metadata. That is expensive!!

we should deprecate the method and introduce a new interface as replacement 



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