cmccabe commented on a change in pull request #9144:
URL: https://github.com/apache/kafka/pull/9144#discussion_r468840231



##########
File path: 
clients/src/main/java/org/apache/kafka/common/network/KafkaChannel.java
##########
@@ -147,6 +153,7 @@ public KafkaChannel(String id, TransportLayer 
transportLayer, Supplier<Authentic
         this.disconnected = false;
         this.muteState = ChannelMuteState.NOT_MUTED;
         this.state = ChannelState.NOT_CONNECTED;
+        this.isInterBrokerListener = isInterBrokerListener;

Review comment:
       How about `privilegedListener`?  Then we could add a comment explaining 
what that means:
   1. if there is a control plane listener, only it is privileged
   2. otherwise, if there is an inter broker listener, only it is privileged
   3. otherwise, all listeners are privileged




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to