[ https://issues.apache.org/jira/browse/ZOOKEEPER-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andor Molnar resolved ZOOKEEPER-4962. ------------------------------------- Fix Version/s: 3.10.0 3.9.5 Resolution: Fixed Issue resolved by pull request 2302 [https://github.com/apache/zookeeper/pull/2302] > Add getPort and getSecurePort for ZooKeeperServerEmbedded > --------------------------------------------------------- > > Key: ZOOKEEPER-4962 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4962 > Project: ZooKeeper > Issue Type: Improvement > Components: server > Affects Versions: 3.9.3 > Reporter: Kezhu Wang > Assignee: Kezhu Wang > Priority: Minor > Labels: pull-request-available > Fix For: 3.10.0, 3.9.5 > > Time Spent: 20m > Remaining Estimate: 0h > > Since ZOOKEEPER-4303, {{ZooKeeperServerEmbedded}} supports bind to port 0 to > get unused port. It would be good to export {{getPort}} and {{getSecurePort}} > for both inspection and custom connection string construction. -- This message was sent by Atlassian Jira (v8.20.10#820010)