Skip to content

Commit

Permalink
[LIHOTFIX]Log client endpoint when accept connections
Browse files Browse the repository at this point in the history
  • Loading branch information
CCisGG committed Mar 15, 2024
1 parent 0b55520 commit 4a5b89e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/scala/kafka/network/SocketServer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ private[kafka] class Acceptor(val endPoint: EndPoint,
try {
connectionQuotas.inc(endPoint.listenerName, socketChannel.socket.getInetAddress, blockedPercentMeter)
configureAcceptedSocketChannel(socketChannel)
info(s"Accepted channel from ${endPoint.connectionString}")
Some(socketChannel)
} catch {
case e: TooManyConnectionsException =>
Expand Down

0 comments on commit 4a5b89e

Please sign in to comment.