zplinuxlover opened a new issue #6228: zookeeper connection cause resource leak URL: https://github.com/apache/pulsar/issues/6228 in class `ZookeeperBkClientFactoryImpl`, the `create` method ``` if (zk.getState() == States.CONNECTEDREADONLY && sessionType != SessionType.AllowReadOnly) { future.completeExceptionally(new IllegalStateException("Cannot use a read-only session")); } ``` although this code can not reach, but pulsar should handle 'zookeeper.close' for this code
---------------------------------------------------------------- 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
