From 14c2125d19d8744c520ee7fb41b5ea38decdd1f5 Mon Sep 17 00:00:00 2001 From: Erik Assum Date: Wed, 2 Nov 2016 10:24:43 +0100 Subject: [PATCH 1/2] Update zookeeper connect example - :node-type needs to be "druid:broker" - fixes #17 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d441115..c443204 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ this method supports auto detection and update of available brokers for easy HA/ (use 'clj-druid.client) (connect {:zk {:host "127.0.0.1:2181,my-other-zk-host:2181" ; can contain multiple hosts separated by commas :discovery-path "/druid/discovery" - :node-type "broker"}}) + :node-type "druid:broker"}}) ``` you can also connect by supplying a vector of hosts, useful for dev, local testing From aec89cf64bdce064bea749014ec54dc8a4c1d207 Mon Sep 17 00:00:00 2001 From: Erik Assum Date: Wed, 2 Nov 2016 10:30:05 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c443204..a660bdb 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Issue druid queries supplying :intervals ["2012-01-01T00:00:00.000/2012-01-03T00:00:00.000"]}) (let [client (connect {:zk {:host "127.0.0.1:2181" :discovery-path "/druid/discovery" - :node-type "broker"}})] + :node-type "druid:broker"}})] (query client random (:queryType q) q) (close client)) ```