Reputation: 3823
I am looking at using Kafka but the documentation states that I need to set up Zookeeper. I already have a service discovery set up, I am using Consul. I don't want to have to look after Zookeeper as well.
Can you use Consul instead of Zookeeper to run Kafka? If so is there any documentation on how to do this anywhere?
Upvotes: 6
Views: 7624
Reputation: 16554
This long-standing Kafka issue tracks adding Zookeeper alternatives. It may never happen, so in the meantime, there's the option of running a Zookeeper proxy like zetcd or parkeeper in front of etcd or Consul.
Upvotes: 4
Reputation: 388
Kafka only uses Zookeeper for broker and topic discovery. Short of adding Consul support to the code base yourself, there is no other alternatives.
Upvotes: 0
Reputation: 3981
Apache Kafka currently supports only Apache Zookeeper. It doesn't have any out of the box support for Consul.
Upvotes: 5