Created 07-05-2018 08:26 AM
I have Apache Kafka Cluster, consumer, producer and topic are created. can I use security protocols like PLAINTEXT and SASL_PLAINTEXT at the same time
Created 07-05-2018 09:24 AM
Yes you can use multiple protocols in Kafka. The protocols should be comma separated and you'd need to define a different port for each protocol in the listeners.
SASL_PLAINTEXT://localhost:6667,PLAINTEXT://localhost:6668
Hope this helps.
Created 07-05-2018 09:43 AM
We have apache cluster, i have provided authorization and authentication on port 9092, and plaintext on port 9093. Consumer gets message from port 9092 but not able to get message from 9093.
Please suggest something.
Created 07-05-2018 10:06 AM
Do you see any error message while running the consumer ?
Created 07-05-2018 12:15 PM
Yes, below is the error
org.apache.kafka.common.errors.IllegalSaslStateException: Unexpected handshake request with client mechanism PLAIN, enabled mechanisms are [PLAIN]
Created 07-06-2018 08:10 AM
Could you share your server.properties file?