This is an automated email from the ASF dual-hosted git repository. rdhabalia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pulsar.wiki.git
The following commit(s) were added to refs/heads/master by this push: new 7cc4cb8 add pulsar-admin cli example 7cc4cb8 is described below commit 7cc4cb81c35d4b9e2a7aa7ad0b4a5233bca911a5 Author: Rajan Dhabalia <rdhaba...@apache.org> AuthorDate: Wed Mar 25 12:32:44 2020 -0700 add pulsar-admin cli example --- PIP-60:-Support-Proxy-server-with-SNI-routing.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/PIP-60:-Support-Proxy-server-with-SNI-routing.md b/PIP-60:-Support-Proxy-server-with-SNI-routing.md index fc27f0a..d266f10 100644 --- a/PIP-60:-Support-Proxy-server-with-SNI-routing.md +++ b/PIP-60:-Support-Proxy-server-with-SNI-routing.md @@ -2,6 +2,7 @@ * **Status**: Discussion * **Author**: [Rajan Dhabalia](https://github.com/rdhabalia) + * **Pull Request**: [#6566](https://github.com/apache/pulsar/pull/6566) ## Motivation @@ -51,4 +52,11 @@ ProxyProtocol proxyProtocol; //eg: enum: ProxyProtocol.SNI ``` #### Geo-replication -We can also use proxy-server in geo-replication to create a proxy between two brokers. Therefore, we need similar configurations as pulsar-client into cluster metadata as well. If cluster metadata has a proxy configured then other clusters will connect to this pulsar cluster via proxy. \ No newline at end of file +We can also use proxy-server in geo-replication to create a proxy between two brokers. Therefore, we need similar configurations as pulsar-client into cluster metadata as well. If cluster metadata has a proxy configured then other clusters will connect to this pulsar cluster via proxy. We can configure cluster-metadata with proxy-uri and protocol using admin api/cli. +``` +./pulsar-admin clusters create my-DMZ-cluster \ +--url http://my-dmz-broker.com:8080 \ +--broker-url-secure pulsar+ssl://my-dmz-broker.com:6651 \ +--proxy-url pulsar+ssl://my-dmz-proxy.com:4443 \ +--proxy-protocol SNI +``` \ No newline at end of file