Merge pull request #16 from slipset/patch-1

Updated docs to show usage with multiple hosts
This commit is contained in:
gbuisson 2016-11-02 09:54:32 +01:00 committed by GitHub
commit a7680111b4

View file

@ -22,7 +22,7 @@ this method supports auto detection and update of available brokers for easy HA/
```clj ```clj
(use 'clj-druid.client) (use 'clj-druid.client)
(connect {:zk {:host "127.0.0.1:2181" (connect {:zk {:host "127.0.0.1:2181,my-other-zk-host:2181" ; can contain multiple hosts separated by commas
:discovery-path "/druid/discovery" :discovery-path "/druid/discovery"
:node-type "broker"}}) :node-type "broker"}})
``` ```