I am using Kafka Version 0.10.2.0. Is there a way to secure communication between Zookeper Client i.e ZkClient and zookeper server with SSL. I found some way to do through SASL but i want it through SSL.
Asked
Active
Viewed 1,099 times
2 Answers
2
Zookeeper 3.5 includes SSL support but it is still in alpha so Kafka doesn't yet support it. The highest supported version is 3.4 which only includes sasl.
1
This task can still be achieved by a simple workaround mentioned in the steps below;
- Install zookeeper-3.5.1-alpha (to use the .jar files. version 3.5+ can be used)
- Replace default zookeeper*.jar with
/zookeeper-3.5.1-alpha/zookeeper-3.5.1-alpha.jar
in<kafka-installation-folder>\libs
- Copy
/zookeeper-3.5.1-alpha/lib/netty-3.7.0.Final.jar
into<kafka-installation-folder>\libs
- Relevant changes to enable SSL on Zookeeper (https://cwiki-test.apache.org/confluence/display/ZOOKEEPER/ZooKeeper+SSL+User+Guide)

Sameer Khan
- 637
- 6
- 15