apoorvmittal10 commented on code in PR #15190:
URL: https://github.com/apache/kafka/pull/15190#discussion_r1453676869


##########
clients/src/main/java/org/apache/kafka/common/network/KafkaChannel.java:
##########
@@ -369,6 +369,16 @@ public InetAddress socketAddress() {
         return transportLayer.socketChannel().socket().getInetAddress();
     }
 
+    /**
+     * Returns the port to which this channel's socket is connected or `null` 
if the socket has never been connected.

Review Comment:
   Thanks for pointing out, it should be 0 instead of null. Done.



-- 
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.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

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

Reply via email to