spham
16 December 2021 09:10
1
Hi
I dont find any tuto for Kafka Kraft mode without Zookeeper but with ACL.
I think below documentation it’s not implemented .
have an idea when is done ?
regards
Hi
according to
KRaft (aka KIP-500) mode Preview Release
=========================================================
# Introduction
It is now possible to run Apache Kafka without Apache ZooKeeper! We call this the [Kafka Raft metadata mode](https://cwiki.apache.org/confluence/display/KAFKA/KIP-500%3A+Replace+ZooKeeper+with+a+Self-Managed+Metadata+Quorum), typically shortened to `KRaft mode`.
`KRaft` is intended to be pronounced like `craft` (as in `craftsmanship`). It is currently *PREVIEW AND SHOULD NOT BE USED IN PRODUCTION*, but it
is available for testing in the Kafka 3.0 release.
When the Kafka cluster is in KRaft mode, it does not store its metadata in ZooKeeper. In fact, you do not have to run ZooKeeper at all, because it stores its metadata in a KRaft quorum of controller nodes.
KRaft mode has many benefits -- some obvious, and some not so obvious. Clearly, it is nice to manage and configure one service rather than two services. In addition, you can now run a single process Kafka cluster.
Most important of all, KRaft mode is more scalable. We expect to be able to [support many more topics and partitions](https://www.confluent.io/kafka-summit-san-francisco-2019/kafka-needs-no-keeper/) in this mode.
# Quickstart
## Warning
KRaft mode in Kafka 3.0 is provided for testing only, *NOT* for production. We do not yet support upgrading existing ZooKeeper-based Kafka clusters into this mode. In fact, when Kafka 3.1 is released,
it may not be possible to upgrade your KRaft clusters from 3.0 to 3.1. There may be bugs, including serious ones. You should *assume that your data could be lost at any time* if you try the preview release of KRaft mode.
## Generate a cluster ID
This file has been truncated. show original
you could try with
although note that you can use authorizers such as kafka.security.authorizer.AclAuthorizer
with KRaft clusters, even if they are ZooKeeper-based: simply define authorizer.class.name
and configure the authorizer as you normally would)
though never tried it by myself
gklijs
17 December 2021 03:20
3
I also have seen acl’s with Zookeeper also. But I think how it’s implemented is pretty open. Not sure how easy it is to implement the Authorizer and use either Kafka itself, or something like s3 for storing them.