-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdminClient is stuck at CONNECT
when using OAUTHBEARER
with SASL_SSL
protocol
#1713
Comments
Looks like the auth callback is not used with the AdminClient. Not sure if there's any workaround at the moment besides using username/password auth. |
Looks like this affects methods like |
Facing the same issue as well when trying to connect to MSK from a lambda. However, java based lambda works just fine. I have triple checked the IAM side - both java and python lambdas are using the same SG and role. This not just happens for admin but for producer as well. Are there any fix in progress for this? |
I was able to get this to work in my code by calling e.g. |
I am having the same issue while trying to access MSK from an EKS node with IAM. @woodlee I tried using your suggestion with |
Facing the same issue. Has anyone found a work around for this ? |
@ketan-nabera Actually, the workaround above also worked for me after some trial and error. In my case, I had to put a 10-second sleep after |
@ketan-nabera Our code that is currently working properly against an AWS MSK cluster just does an initial call to I suppose it's possible that the needed amount of poll timeout could depend on network latency between the process and the brokers. But that's just a guess on my part. In our case the code is running on EC2 in the same region as our MSK clusters. |
Facing the same issue, poll(3) seemed to resolve it as suggested in earlier comments |
Same issue. Is there any solution could help me to work it out? |
would be nice to get this in solved, as it is also blocking us in sauljabin/kaskade#44 If there is anything we can help in making progress in solving this, happy to help. We'll be using the |
Unfortunately, calling
We are thinking of a solution where user doesn't need to call |
Description
Admin client cannot connect to the bootstrap servers when using
SASL_SSL
withOAUTHBEARER
.I'm trying to connect to AWS MSK cluster bootstrap servers. Admin client can connect when using an unauthenticated endpoint. Producer and Consumer config work fine with
OAUTHBEARER
.How to reproduce
Debug logs:
Checklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
): 2.3.0{...}
'debug': '..'
as necessary)The text was updated successfully, but these errors were encountered: