News for hackers. Stuff that matters.
Re:Why I am not a fan of Apache Kafka by GauntletWizard on Monday September 19, 2016 @04:03PM (#12534248)
Breaking with Zookeeper is a critical misstep. A lockservice is the critical core of any distributed system. The hardest problem in distributed systems is serialization and consensus - A lockservice provides important tooling to solve both, in a way that can be portable and consistent across diverse systems. Master election? As simple as who owns the lock. Serialization? Do an atomic update on the lockserver of the pointer-reference to the datastructure, or simply grab a lock for the duration of the commit. Service discovery? Use ephemeral nodes and prefix-scanning to discover who's online. These solutions are tried and true, but frequently ignored, as each new tooling re-invents the wheel and builds it's own infrastructure... Including Kafka, which can't decide if it's part of the Hadoop stack or it's own complete solution, and is therefore suitable for neither.

I'm actually in favor of breaking with Zookeeper (It's terribly designed, has serious problems with concurrency and even consistency, and has the classic java problem of using java's internal serialization methods, which are utterly unfit for storing more than temporary data on a single host.) However, absorbing all of the demands of a lockservice into every product is not the solution to Zookeeper's failures.

Re:Why I am not a fan of Apache Kafka by boredandroid on Monday September 19, 2016 @04:32PM (#12534456)
We haven't broken with ZK, it just isn't part of the protocol clients use anymore.

This is important for three reasons: 1. To make clients easy to build 2. To have a single security layer for everything (so you don't have to authenticate yourself with two things) 3. To be able to enforce things like throttling and protect the system in an environment with lots of clients.

Re:Why I am not a fan of Apache Kafka by yid on Monday September 19, 2016 @04:28PM (#12534423)
They're not breaking with Zookeeper, it sounds like they're refactoring to make zookeeper use transparent to producers and consumers.
Re:Why I am not a fan of Apache Kafka by Sphax on Monday September 19, 2016 @04:53PM (#12534596)
it's already the case fyi
Re:Why I am not a fan of Apache Kafka by cynusx on Monday September 19, 2016 @04:33PM (#12534465)
I have this theory that blockchain is a great fit for distributed consensus and that it should be able to replace zookeeper as a much more robust tool. What do you think?