Closed marcoppenheimer closed 2 months ago
LGTM! Should we just have an integration tests or that would be too much of an hassle?
I think our current int tests basically cover the case of 'does Kafka work with this setting?'.
If we look at the ACLs Kafka sets, it's pretty clever. By default, a zNode written by Kafka will have rwcda
for the SASL Kafka user, and r
for world
(aka everyone).
BUT, for zNodes that Kafka thinks are 'secure', it will remove the world
read permission.
After a quick check, it appears that it would be:
/kafka/config/brokers
/kafka/config/users/*
There may be others, but I grabbed that from a default ZK + Kafka deploy.
Changes Made
fix: set ACLs on written zNodes
chroot
, will be readable by allzookeeper.set.acl=true
ensures that there are protections on the zNodes written by Kafka