This is an automated email from the ASF dual-hosted git repository.
xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 61a3fc691fe [improve][doc] clarify usage for metadataStoreUrl (#492)
61a3fc691fe is described below
commit 61a3fc691fe18d6369fdc1b06e5d5d1e39d7bc07
Author: Anonymitaet <[email protected]>
AuthorDate: Tue Mar 28 14:39:40 2023 +0800
[improve][doc] clarify usage for metadataStoreUrl (#492)
---
docs/deploy-bare-metal.md | 4 ++--
versioned_docs/version-2.10.x/deploy-bare-metal.md | 4 ++--
versioned_docs/version-2.11.x/deploy-bare-metal.md | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/deploy-bare-metal.md b/docs/deploy-bare-metal.md
index b05194f1a4f..bc2c1ab3f4d 100644
--- a/docs/deploy-bare-metal.md
+++ b/docs/deploy-bare-metal.md
@@ -343,8 +343,8 @@ Pulsar brokers are the last thing you need to deploy in
your Pulsar cluster. Bro
You can configure BookKeeper bookies using the `conf/broker.conf`
configuration file. The most important element of broker configuration is
ensuring that each broker is aware of the ZooKeeper cluster that you have
deployed. Ensure that the
[`metadataStoreUrl`](reference-configuration.md#broker) and
[`configurationMetadataStoreUrl`](reference-configuration.md#broker) parameters
are correct. In this case, since you only have 1 cluster and no configuration
store setup, the `configurationMet [...]
```properties
-metadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
-configurationMetadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+metadataStoreUrl=zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+configurationMetadataStoreUrl=zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
```
You also need to specify the cluster name (matching the name that you provided
when you [initialize the metadata of the
cluster](#initialize-cluster-metadata)):
diff --git a/versioned_docs/version-2.10.x/deploy-bare-metal.md
b/versioned_docs/version-2.10.x/deploy-bare-metal.md
index 2a4814cfb9b..a5465426eaa 100644
--- a/versioned_docs/version-2.10.x/deploy-bare-metal.md
+++ b/versioned_docs/version-2.10.x/deploy-bare-metal.md
@@ -386,8 +386,8 @@ The most important element of broker configuration is
ensuring that each broker
```properties
-metadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
-configurationMetadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+metadataStoreUrl=zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+configurationMetadataStoreUrl=zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
```
diff --git a/versioned_docs/version-2.11.x/deploy-bare-metal.md
b/versioned_docs/version-2.11.x/deploy-bare-metal.md
index 5f119660c5e..7a75ba0eee5 100644
--- a/versioned_docs/version-2.11.x/deploy-bare-metal.md
+++ b/versioned_docs/version-2.11.x/deploy-bare-metal.md
@@ -343,8 +343,8 @@ Pulsar brokers are the last thing you need to deploy in
your Pulsar cluster. Bro
You can configure BookKeeper bookies using the `conf/broker.conf`
configuration file. The most important element of broker configuration is
ensuring that each broker is aware of the ZooKeeper cluster that you have
deployed. Ensure that the
[`metadataStoreUrl`](reference-configuration.md#broker) and
[`configurationMetadataStoreUrl`](reference-configuration.md#broker) parameters
are correct. In this case, since you only have 1 cluster and no configuration
store setup, the `configurationMet [...]
```properties
-metadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
-configurationMetadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+metadataStoreUrl=zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+configurationMetadataStoreUrl=zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
```
You also need to specify the cluster name (matching the name that you provided
when you [initialize the metadata of the
cluster](#initialize-cluster-metadata)):