You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting below error while running producer, implemented kafka security as per this code. Can I get help on to resolve this issue. Any help on this would be appreciated. The code is on my google cloud,, can be available for workign session too. This would help to resolve one of my blocker.
ERROR [Producer clientId=console-producer] Connection to node -1 failed authentication due to: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - UNKNOWN_SERVER)]) occurred when evaluating SASL token received from the Kafka Broker. This may be caused by Java's being unable to resolve the Kafka Broker's hostname correctly. You may want to try to adding '-Dsun.net.spi.nameservice.provider.1=dns,sun' to your client's JVMFLAGS environment. Users must configure FQDN of kafka brokers when authenticating using SASL and socketChannel.socket().getInetAddress().getHostName() must match the hostname in principal/hostname@realm Kafka Client will go to AUTHENTICATION_FAILED state. (org.apache.kafka.clients.NetworkCl
Regards
Subbarao
The text was updated successfully, but these errors were encountered:
I am getting below error while running producer, implemented kafka security as per this code. Can I get help on to resolve this issue. Any help on this would be appreciated. The code is on my google cloud,, can be available for workign session too. This would help to resolve one of my blocker.
ERROR [Producer clientId=console-producer] Connection to node -1 failed authentication due to: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - UNKNOWN_SERVER)]) occurred when evaluating SASL token received from the Kafka Broker. This may be caused by Java's being unable to resolve the Kafka Broker's hostname correctly. You may want to try to adding '-Dsun.net.spi.nameservice.provider.1=dns,sun' to your client's JVMFLAGS environment. Users must configure FQDN of kafka brokers when authenticating using SASL and socketChannel.socket().getInetAddress().getHostName() must match the hostname in principal/hostname@realm Kafka Client will go to AUTHENTICATION_FAILED state. (org.apache.kafka.clients.NetworkCl
Regards Subbarao
have you solved this problem? how to solve this problem?
Hi,
I am getting below error while running producer, implemented kafka security as per this code. Can I get help on to resolve this issue. Any help on this would be appreciated. The code is on my google cloud,, can be available for workign session too. This would help to resolve one of my blocker.
ERROR [Producer clientId=console-producer] Connection to node -1 failed authentication due to: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - UNKNOWN_SERVER)]) occurred when evaluating SASL token received from the Kafka Broker. This may be caused by Java's being unable to resolve the Kafka Broker's hostname correctly. You may want to try to adding '-Dsun.net.spi.nameservice.provider.1=dns,sun' to your client's JVMFLAGS environment. Users must configure FQDN of kafka brokers when authenticating using SASL and
socketChannel.socket().getInetAddress().getHostName()
must match the hostname inprincipal/hostname@realm
Kafka Client will go to AUTHENTICATION_FAILED state. (org.apache.kafka.clients.NetworkClRegards
Subbarao
The text was updated successfully, but these errors were encountered: