Support Questions

Find answers, ask questions, and share your expertise

Error with Kafka consumer, while trying to connect with brokers using kerberos authentication

avatar
Reader

While trying to connect to a Kafka feed suddenly the connection drops out and the socket gets disconnected.

Error :

Caused by: org.apache.kafka.common.errors.SaslAuthenticationException: Failed to configure SaslClientAuthenticator
Caused by: org.apache.kafka.common.errors.SaslAuthenticationException: Failed to create SaslClient with mechanism GSSAPI
[WARN ] 2023-05-20 11:52:25 [main] NetworkClient - [Consumer clientId=consumer-R_Consumer-1, groupId=R_Consumer] Bootstrap broker 10.49.148.50:9093 (id: -4 rack: null) disconnected
[WARN ] 2023-05-20 11:52:25 [main] NetworkClient - [Consumer clientId=consumer-R_Consumer-1, groupId=R_Consumer] Error connecting to node 10.49.148.51:9093 (id: -3 rack: null)
java.io.IOException: Channel could not be created for socket java.nio.channels.SocketChannel[closed]

1 REPLY 1

avatar
Community Manager

@Trojan Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our Kafka experts @rki_ and @ChethanYM  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Senior Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: