Hi Team,
Greetings, We actually reached out to you for Oracle/ IT / SAP / Infor / Microsoft "VOTEC IT SERVICE PARTNERSHIP" "IT SERVICE OUTSOURCING" " "PARTNER SERVICE SUBCONTRACTING" We have very attractive newly introduce reasonably price PARTNER IT SERVICE ODC SUBCONTRACTING MODEL in USA, Philippines, India and Singapore etc with White Label Model. Our LOW COST IT SERVICE ODC MODEL eliminate the cost of expensive employee payroll, Help partner to get profit more than 50% on each project.. ..We really mean it. We are already working with platinum partner like NTT DATA, NEC Singapore, Deloitte, Hitachi consulting. ACCENTURE, Abeam Singapore etc. Are u keen to understand VOTEC IT PARTNERSHIP offerings? Looping KB kail...@votecgroup.com | Partnership In charge | Let us know your availability this week OR Next week?? From: xiansheng lao [mailto:xiansheng....@icloud.com.INVALID] Sent: 01 August 2023 08:21 To: users@kafka.apache.org Subject: Kafka User Authentication Exception Dear Kafka Community Team, I am a developer who is facing an issue while attempting to use SASL authentication with Kafka. I have tried various methods to troubleshoot the problem, but have not yet found a solution. Therefore, I am reaching out to seek your help and guidance. Issue Description: I am trying to connect to Kafka from my client application using the SASL authentication mechanism. In my client code, I have implemented the `SaslClientCallbackHandler` class to handle callbacks and provided the correct credentials (username and password). However, during the connection process, I encounter the "javax.security.sasl.SaslException: User name could not be obtained" error. I have attempted the following steps to troubleshoot the issue: 1. Ensured that the client and Kafka Broker are using the same version of Kafka to avoid version compatibility issues. 2. Checked the SASL configuration to ensure that both the client and Kafka Broker are configured correctly with the same SASL mechanism and authentication parameters. 3. Examined the exception stack trace and logs, but couldn't find additional information regarding the root cause of the error. 4. Verified that the credentials are in the correct format and can be parsed correctly by the client. 5. Ensured that the network connection is stable and that the client can establish a connection with the Kafka Broker. However, despite trying these approaches, the problem persists, and I am puzzled by the specific reasons behind the "User name could not be obtained" error. In this situation, I am seeking your advice on whether there might be other reasons causing this error and how I can further investigate and resolve this issue. Any suggestions, hints, or relevant documentation would be greatly appreciated. I am sincerely grateful for your contributions and support to the Kafka community and look forward to your assistance in resolving this authentication issue, so I can continue with my project development using Kafka. Thank you for your time and patience! We are using Kafka version 1.1.1 with SCRAM-PLAIN authentication mechanism, and we have encountered an authentication exception. Below are the detailed error logs. Thank you for your assistance. Best regards, [elderly gentleman] 2027-10-01 13:52:09,879 kafka-producer-network-thread TEST] ERROR [] Producer clientId-TEST] Connection to node -1 failed authentication due to: An error: (java.security.PrivilegedActionException:javax.security.sasl.SaslException: User name could not be obtained Caused by javax.security.auth.callback.UnsupportedcallbackException:Unrecognized SASL ClientCallback) occurred when evaluating SASL token received from the Kafka Broker.Kafka Client will go to AUTHENTICATION FAILED state.