diff --git a/site2/docs/admin-api-clusters.md b/site2/docs/admin-api-clusters.md index 5f88af79cff10..dd09f58dcc858 100644 --- a/site2/docs/admin-api-clusters.md +++ b/site2/docs/admin-api-clusters.md @@ -83,8 +83,8 @@ Here's an example cluster metadata initialization command: ```shell bin/pulsar initialize-cluster-metadata \ --cluster us-west \ - --zookeeper zk1.us-west.example.com:2181 \ - --configuration-store zk1.us-west.example.com:2184 \ + --metadata-store zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \ + --configuration-metadata-store zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \ --web-service-url http://pulsar.us-west.example.com:8080/ \ --web-service-url-tls https://pulsar.us-west.example.com:8443/ \ --broker-service-url pulsar://pulsar.us-west.example.com:6650/ \ diff --git a/site2/docs/deploy-bare-metal-multi-cluster.md b/site2/docs/deploy-bare-metal-multi-cluster.md index 69238311293c5..d423965990180 100644 --- a/site2/docs/deploy-bare-metal-multi-cluster.md +++ b/site2/docs/deploy-bare-metal-multi-cluster.md @@ -201,8 +201,8 @@ You can initialize this metadata using the [`initialize-cluster-metadata`](refer ```shell $ bin/pulsar initialize-cluster-metadata \ --cluster us-west \ - --zookeeper zk1.us-west.example.com:2181 \ - --configuration-store zk1.us-west.example.com:2184 \ + --metadata-store zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \ + --configuration-metadata-store zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \ --web-service-url http://pulsar.us-west.example.com:8080/ \ --web-service-url-tls https://pulsar.us-west.example.com:8443/ \ --broker-service-url pulsar://pulsar.us-west.example.com:6650/ \ diff --git a/site2/docs/deploy-bare-metal.md b/site2/docs/deploy-bare-metal.md index 13c001f107bd1..052b1cd6f6c17 100644 --- a/site2/docs/deploy-bare-metal.md +++ b/site2/docs/deploy-bare-metal.md @@ -241,8 +241,8 @@ You can initialize this metadata using the [`initialize-cluster-metadata`](refer ```shell $ bin/pulsar initialize-cluster-metadata \ --cluster pulsar-cluster-1 \ - --zookeeper zk1.us-west.example.com:2181 \ - --configuration-store zk1.us-west.example.com:2181 \ + --metadata-store zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \ + --configuration-metadata-store zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \ --web-service-url http://pulsar.us-west.example.com:8080 \ --web-service-url-tls https://pulsar.us-west.example.com:8443 \ --broker-service-url pulsar://pulsar.us-west.example.com:6650 \