poorbarcode commented on code in PR #15490:
URL: https://github.com/apache/pulsar/pull/15490#discussion_r868080838
##########
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConnection.java:
##########
@@ -524,6 +524,8 @@ protected void handleLookup(CommandLookupTopic lookup) {
ClientConfigurationData createClientConfiguration() {
ClientConfigurationData clientConf = new ClientConfigurationData();
+ /** The proxy service does not need to automatically clean up invalid
connections, so set false. **/
+ clientConf.setAutoReleaseIdleConnectionsEnabled(false);
Review Comment:
@codelipenghui
This prevents the proxy from automatically releasing the connection.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]