This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 14f3eee  [Issue 5287][docs] Add documentation on how to configure 
multiple broker services (#5722)
14f3eee is described below

commit 14f3eee33b386150bc9a00ecb8d1169df738fc0f
Author: Jennifer Huang <[email protected]>
AuthorDate: Wed Nov 27 00:51:32 2019 +0800

    [Issue 5287][docs] Add documentation on how to configure multiple broker 
services (#5722)
    
    Fixes #5287
    
    ### Motivation
    Users do not know how to specify cluster (multi broker/zk) connection for 
presto.
    
    ### Modifications
    Add content on how to configure multiple hosts for 
`pulsar.broker-service-url`.
---
 site2/docs/sql-deployment-configurations.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/site2/docs/sql-deployment-configurations.md 
b/site2/docs/sql-deployment-configurations.md
index 1ef9535..65653f0 100644
--- a/site2/docs/sql-deployment-configurations.md
+++ b/site2/docs/sql-deployment-configurations.md
@@ -26,6 +26,13 @@ pulsar.entry-read-batch-size=100
 pulsar.target-num-splits=4
 ```
 
+You can connect Presto to a Pulsar cluster with multiple hosts. To configure 
multiple hosts for brokers, add multiple URLs to `pulsar.broker-service-url`. 
To configure multiple hosts for ZooKeeper, add multiple URIs to 
`pulsar.zookeeper-uri`. The following is an example.
+  
+```
+pulsar.broker-service-url=http://localhost:8080,localhost:8081,localhost:8082
+pulsar.zookeeper-uri=localhost1,localhost2:2181
+```
+
 ## Query data from existing Presto clusters
 
 If you already have a Presto cluster, you can copy the Presto Pulsar connector 
plugin to your existing cluster. Download the archived plugin package with the 
following command.

Reply via email to