confluentinc / confluentinc/examples

Authentication issue with SSL Kafka apach for OAutheBearerLogin Moudle

Open
#1,043 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

**Description**
A clear and concise description of what the issue is.
Hi team
We have issue with Java confluentic SDK that running Kafka apache with Azure Event Hub.
There are many examples in this repo, so identify the example by linking to the relevant documentation page.

**Troubleshooting**
We followed this document to set the https://docs.confluent.io/platform/current/kafka/authentication_sasl/authentication_sasl_oauth.html
the Oauth but get error intermittently for error "org.apache.kafka.common.errors.SaslAuthenticationException: Failed to configure SaslClientAuthenticator
Caused by: java.lang.IllegalArgumentException: Callback handler must be castable to org.apache.kafka.common.security.auth.AuthenticateCallbackHandler: org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerSaslClientCallbackHandler"

And then it disconnect with Event Hub server , then we need to restart our system again to reconnect it.
We confirmed with Event Hub team there isn't any record for that time in Event Hub.

Any suggestions you have to avoid this issue? are there any apache issue with Kafka?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.