diff options
author | Staffan Olsson <staffan@repos.se> | 2017-07-28 10:37:03 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-07-28 10:39:06 +0200 |
commit | 91b4dde07d80ec2fb7e44bd8edfac28e381ba0c1 (patch) | |
tree | ae58b64c0a6029d46fd67a5b13e3d51db1c5761d /README.md | |
parent | a880307fa1eb7ec785f12d08a12d2e27ff669454 (diff) | |
download | kubernetes-kafka-91b4dde07d80ec2fb7e44bd8edfac28e381ba0c1.tar.gz kubernetes-kafka-91b4dde07d80ec2fb7e44bd8edfac28e381ba0c1.tar.bz2 kubernetes-kafka-91b4dde07d80ec2fb7e44bd8edfac28e381ba0c1.zip |
Where to go from here
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -18,12 +18,14 @@ Now we read [Kleppmann](http://dataintensive.net/), [Confluent's blog](https://w ## What you get +Keep an eye on `kubectl --namespace kafka get pods -w`. + [Bootstrap servers](http://kafka.apache.org/documentation/#producerconfigs): `kafka-0.broker.kafka.svc.cluster.local:9092,kafka-1.broker.kafka.svc.cluster.local:9092,kafka-2.broker.kafka.svc.cluster.local:9092` ` Zookeeper at `zookeeper.kafka.svc.cluster.local:2181`. -## Set up Zookeeper +## Start Zookeeper The [Kafka book](https://www.confluent.io/resources/kafka-definitive-guide-preview-edition/) recommends that Kafka has its own Zookeeper cluster with at least 5 instances. @@ -31,7 +33,7 @@ The [Kafka book](https://www.confluent.io/resources/kafka-definitive-guide-previ kubectl create -f ./zookeeper/ ``` -To support automatic migration in the face of availability zone unavailability :wink: we mix persistent and ephemeral storage. +To support automatic migration in the face of availability zone unavailability we mix persistent and ephemeral storage. ## Start Kafka @@ -44,3 +46,8 @@ You might want to verify in logs that Kafka found its own DNS name(s) correctly. kubectl -n kafka logs kafka-0 | grep "Registered broker" # INFO Registered broker 0 at path /brokers/ids/0 with addresses: PLAINTEXT -> EndPoint(kafka-0.broker.kafka.svc.cluster.local,9092,PLAINTEXT) ``` + +That's it. Just add business value :wink:. +For clients we tend to use [librdkafka](https://github.com/edenhill/librdkafka)-based drivers like [node-rdkafka](https://github.com/Blizzard/node-rdkafka). +To use [Kafka Connect](http://kafka.apache.org/documentation/#connect) and [Kafka Streams](http://kafka.apache.org/documentation/streams/) you may want to take a look at our [sample](https://github.com/solsson/dockerfiles/tree/master/connect-files) [Dockerfile](https://github.com/solsson/dockerfiles/tree/master/streams-logfilter)s. +Don't forget the [addon](https://github.com/Yolean/kubernetes-kafka/labels/addon)s. |