tooptoop4 opened a new issue #5287: presto connector - how to specify cluster 
(multi broker/zk) connection
URL: https://github.com/apache/pulsar/issues/5287
 
 
   **Describe the bug**
   Trying to connect existing presto (not part of pulsar distro) to pulsar 
(multi host cluster)
   
   **To Reproduce**
   Steps to reproduce the behavior:
   
   catalog/pulsar.properties in presto has
   
   connector.name=pulsar
   # the url of Pulsar broker service
   pulsar.broker-service-url=http://yy:8080;xx:8080
   # URI of Zookeeper cluster
   pulsar.zookeeper-uri=yy,xx:2181
   # minimum number of entries to read at a single time
   #pulsar.entry-read-batch-size=100
   # default number of splits to use per query
   pulsar.target-num-splits=4
   
   
   major (1st issue)
   presto> select * from pulsar."public/functions".assignments;
   Query 20190927_164934_00002_q7acj failed: Failed to get topics in schema 
public/functions: For input string: "8080;xx:8080"
   
   There is no documentation about how to provide multi hosts for brokers or zk
   
   minor (2nd issue)
   pulsar.entry-read-batch-size=100 --> this config causes error
   
   **Expected behavior**
   presto can connect to pulsar/zk cluster (multi hosts)
   
   env: using presto .220 and pulsar 2.41
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to