Reputation: 547
I am using Kafka Version 0.10.1. I connected Kafka brokers and its clients via SSL and its working fine.Now I have a query with some limitations. My limitations are
Since all inter-broker communications are set to SSL. I have a query that, Whether SASL connection between Zookeeper and Kafka-Broker is possible without enabling plaintext in Kafka-Broker. Thanks in advance.
Upvotes: 1
Views: 1360
Reputation: 26865
Yes it is possible to setup a Kafka cluster with Zookeeper with all the requirements you listed.
You'll need to have 2 listeners SSL
and SASL_SSL
(No PLAINTEXT
) in your Kafka config:
listeners=SASL_SSL://host.name:port,SSL://host.name:port
Set inter broker to SSL
security.inter.broker.protocol=SSL
I suggest you check the Security section in the Kafka documentation to see what you need to do exactly to get this working, including how to configure clients so they connect over SASL_SSL
: http://kafka.apache.org/documentation/#security
It also contains a section about securing Zookeeper: http://kafka.apache.org/documentation/#zk_authz
Upvotes: 2