Description
Update Ranger KafkaClient to use Kafka AdminClient API instead of Zookeeper.
This would have the following benefits:
- Security: all Kafka commands are channeled and authorized through the broker instead of direct Zookeeper data manipulation. When topics are generated via Zookeeper, it might happen that even Kafka cannot access to the metadata due to ZK ACLs.
- Simplicity/maintainability: the interface of Kafka becomes smaller and there is no need to expose Kafka's own Zookeeper quorum but kept as an implementation detail for storing metadata.
- Compatibility: zookeeper in Apache Kafka will be removed in a future version.
Attachments
Issue Links
- links to