4 ms·
In context of Kafka, hopefully KIP-500 [1] will get implemented sometime soon. If you're feeling lucky, you can also use zetcd [2] to connect ZK apps to etcd.
by FBISurveillance 7y ago
In context of Kafka, hopefully KIP-500 [1] will get implemented sometime soon.
If you're feeling lucky, you can also use zetcd [2] to connect ZK apps to etcd. I've been able to actually run Kafka with it as a toy project a little while ago.
[1] https://cwiki.apache.org/confluence/display/KAFKA/KIP-500%3A+Replace+ZooKeeper+with+a+Self-Managed+Metadata+Quorum https://cwiki.apache.org/confluence/display/KAFKA/KIP-500%3A...
[2] https://github.com/etcd-io/zetcd https://github.com/etcd-io/zetcd
- klysm 7y agoGiven the close similarity in guarantees, this kind of thing seemed possible but I didn’t know it actually existed! Would it be sketchy to use the same etcd instance as k8s though? It seems desirable to keep that isolated so you don’t fuck up your whole cluster
- takeda 7y agoWhat is the problem with ZK though? The only thing I can think of is that requires JVM, but other than that it is quite solid as far as the locking service is concerned, and since you are using Kafka you already are using JVM.
- FridgeSeal 7y agoBecause if I already have a K8’s cluster, and I want to run a application that requires ZK, I now have to dedicate resources to running a ZK cluster, within my K8’s cluster just to run the one application I cared about. I also personally find configuring and running Java applications confusing AF. Why are the configs seemingly split into different places and environment variables? Does it get clearer after dealing with Java things for a while?
- jpgvm 7y agoI would caution against using zetcd specifically with Kafka however as we ran into issues with this in the past.