You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Kezhu Wang (Jira)" <ji...@apache.org> on 2025/08/16 21:20:00 UTC
[jira] [Created] (ZOOKEEPER-4962) Add getPort and getSecurePort for ZooKeeperServerEmbedded
Kezhu Wang created ZOOKEEPER-4962:
-------------------------------------
Summary: 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
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)