You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Mao (Jira)" <ji...@apache.org> on 2020/11/02 21:33:00 UTC

[jira] [Created] (KAFKA-10673) ConnectionQuotas should cache interbroker listener name

David Mao created KAFKA-10673:
---------------------------------

             Summary: ConnectionQuotas should cache interbroker listener name
                 Key: KAFKA-10673
                 URL: https://issues.apache.org/jira/browse/KAFKA-10673
             Project: Kafka
          Issue Type: Improvement
          Components: core
    Affects Versions: 2.7.0
            Reporter: David Mao
            Assignee: David Mao
             Fix For: 2.8.0


ConnectionQuotas.protectedListener calls `config.interBrokerListenerName`. This is a surprisingly expensive call that creates a copy of all properties set on the config. Given that this method is called multiple times per connection created, this is not really ideal.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)