StephenSorriaux / ansible-kafka-admin

Manage your topic's configuration (partitions, replication factor, parameters), ACLs, quotas, users and get stats, without any effort with this library. It does not use the Kafka scripts and does not require ssh connection to the remote broker.
Apache License 2.0
150 stars 46 forks source link

Support for Kafka KRaft Clusters #174

Closed chris-wood-mo closed 2 weeks ago

chris-wood-mo commented 3 weeks ago

Are there any plans for this library to support Kafka KRaft clusters now Zookeeper is going EOL, I've currently tried to use this against a KRaft cluster it does create the topics/acl's as that particular section uses the bootstrap server, however when these are updated this is where it fails due to the fact that this section seems to only use the Zookeeper

StephenSorriaux commented 3 weeks ago

Hello,

Thanks for the issue.

I do believe the library is supporting KRaft clusters. ZK will not be needed/used if your are using a Kafka 3.x version and correctly configuring the api_version (to something like 3.X.Y, the auto thingy is not working well) when using the library.

Please share logs/stacktraces if that is not the case.

chris-wood-mo commented 3 weeks ago

Hey Stephen,

I think this is what I've missed, thanks for the reply I'll give this a test and get back to you

chris-wood-mo commented 2 weeks ago

Thanks Stephen, All tested and works perfectly