sleighzy / ansible-kafka

Ansible role for installing and configuring Apache Kafka on RedHat and Debian platforms.
MIT License
125 stars 83 forks source link

KRaft mode support #46

Open hongbo-miao opened 1 month ago

hongbo-miao commented 1 month ago

First, thanks for this Ansible role!

I am wondering if the newer Kafka in KRaft mode supported, as the README mentions Apache ZooKeeper as a requirement. It would be great if support for the newer Kafka with KRaft mode could be added. Thanks! ☺️

BTW, this Ansible role may give some ideas: https://github.com/dragomirr/ansible-role-kafka

sleighzy commented 3 weeks ago

Hi @hongbo-miao . I haven't been using Kafka for a while now, and haven't tried out the new KRaft functionality yet. I'll look to potentially create a new release of this Ansible role, as a major release due to the breaking changes, when Kafka 4 is released as this will be using KRaft only. The Kafka 4 release will drop ZooKeeper support so I'll need to do a major config rewrite at that stage. I looked into adding support for both ZooKeeper and KRaft in this Ansible role, with the user being able to choose which one they wanted, but was going to be significant effort to maintain both.

sleighzy commented 3 weeks ago

I'll keep this issue open for now and will close it in the future when I add the KRaft support.