merlimat commented on a change in pull request #6074: PIP-55: Refresh
Authentication Credentials
URL: https://github.com/apache/pulsar/pull/6074#discussion_r370845882
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/PulsarChannelInitializer.java
##########
@@ -38,6 +48,11 @@
private final NettySslContextBuilder sslCtxRefresher;
private final ServiceConfiguration brokerConf;
+ private final Cache<SocketAddress, ServerCnx> connections =
Caffeine.newBuilder()
Review comment:
The socket address is already kept in the `ServerCnx` itself, so it will not
be a new allocation here.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services