-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Support kafka without ZooKeeper #654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I actually set it up inside on docker to try it out (Nothing that's prod ready) I add something really similar to this repo Dockerfile (I copied it). And my start-kafka.sh looked like that #!/bin/bash -e
rm -rf /tmp/kraft-combined-logs
CLUSTER_ID=$(kafka-storage.sh random-uuid)
kafka-storage.sh format -t ${CLUSTER_ID} -c ${KAFKA_HOME}/config/kraft/server.properties
kafka-server-start.sh ${KAFKA_HOME}/config/kraft/server.properties As you can see this can't be used for any kind of long term use but you get a gist of what's need to set it up. I would be interested to implement it in a better way If you can give me some guide on how you want it to live alongside the other versions |
@MollardMichael Thanks for your snippet. It's something that needs to be merged inside PR #655 because this PR exclusively updates to 2.8.0 without including the possibility to start without a zookeeper. |
Thiank you @maguowei This is my actual patch to have the switch to start with or without zookeeper (
|
Improved Kraft emerged in Kafka 3.0. |
Hi @wurstmeister,
I just read this article and it seems that kafka 2.8.0 will be able to run without ZooKeeper:
https://www.confluent.io/blog/kafka-without-zookeeper-a-sneak-peek/?mkt_tok=NTgyLVFIWC0yNjIAAAF8ja2eKb-T_8HLC-RLQjnhN7whMmqTaB80OL6Z-QhVXk2aqZ-Pw2fITKR05NpEGy_yx87vKtO6jF2rcunGEGXCNXMfiAwzfUnj7WmK9HSs11FBoQ
I just wanted to open this issue to see if you plan to support this KRaft mode (they called it that way) and to be able to track progress on this.
The text was updated successfully, but these errors were encountered: