Kezhu Wang created ZOOKEEPER-4875: ------------------------------------- Summary: Support pre-constructed ZKConfig in server side Key: ZOOKEEPER-4875 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4875 Project: ZooKeeper Issue Type: Improvement Components: server Reporter: Kezhu Wang Assignee: Kezhu Wang
Currently, `ZKConfig` is only constructed right before its usage. It makes it hard to run multiple zookeeper servers in one JVM but with different configurations. Though, we don't officially claim support to that, but I think it should be a good to not have such a ban in our side. Also, accepting pre-constructed `ZKConfig` clould also benefit tests to not mess up properties between client and server. See also https://github.com/apache/zookeeper/pull/2200#discussion_r1800328858 -- This message was sent by Atlassian Jira (v8.20.10#820010)