Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
None
-
Ubuntu 16.04LTS running in VirtualBox
Description
I have a problem while trying to produce or consume on kerberos enabled cluster.
I launched a single broker and a console producer,
using the SASL authentication between producer and broker.
When i run the producer ,I got the result attached below
Any advice on what can cause the problem.
Thanks!
================================
configuration used:
server.properties:
listeners=SASL_PLAINTEXT://kafka.example.com:9092
security.inter.broker.protocol=SASL_PLAINTEXT
sasl.mechanism.inter.broker.protocol=GSSAPI
sasl.enabled.mechanism=GSSAPI
sasl.kerberos.service.name=kafka
producer.properties
bootstrap.servers=kafka.example.com:9092
sasl.kerberos.service.name=kafka
security.protocol=SASL_PLAINTEXT
kafka_client_jaas.conf
KafkaClient {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=true
storeKey=true
keyTab="/etc/kafka/keytabs/kafkaclient.keytab"
principal="kafkaclient/kafka.example.com@EXAMPLE.COM";
};