On a kerberized HDP 2.5.3 cluster, I created a kafka topic and now trying to produce a message
./bin/kafka-console-producer.sh --broker-list xx.hortonworks.com:6667,xxxl.hortonworks.com:6667,xxxxhortonworks.com:6667,xxx.hortonworks.com:6667 --topic sunile1 --security-protocol PLAINTEXTSASL
and get the following error:
[2017-03-23 21:36:42,838] WARN Unexpected error from xxx.hortonworks.com/xxx.xx.xxx.xx; closing connection (org.apache.kafka.common.network.Selector)
org.apache.kafka.common.errors.IllegalSaslStateException: Unexpected handshake request with client mechanism GSSAPI, enabled mechanisms are [GSSAPI]
[2017-03-23 21:36:42,931] WARN Unexpected error from xx.hortonworks.com/xxx.xx.xxx.xx; closing connection (org.apache.kafka.common.network.Selector)
Any ideas?