Skip to content
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

Connecting AWS MSK using librdkafka #3780

Closed
4 of 7 tasks
priyarv1210 opened this issue Mar 24, 2022 · 8 comments
Closed
4 of 7 tasks

Connecting AWS MSK using librdkafka #3780

priyarv1210 opened this issue Mar 24, 2022 · 8 comments

Comments

@priyarv1210
Copy link

priyarv1210 commented Mar 24, 2022

Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ

Do NOT create issues for questions, use the discussion forum: https://github.com/edenhill/librdkafka/discussions

Description

I am trying to connect AWS MSK using this library. We have a IAM based AWS and looks like it has to configured only through sasl jass config.

sasl jaas config is throwing "JAVA Jaas configuration is not supported".

Can you tell me how I can use sasl jaas config.

Checklist

IMPORTANT: We will close issues where the checklist has not been completed.

Please provide the following information:

  • librdkafka version (release number or git tag): librdkafka v1.6.2
  • Apache Kafka version: KAFKA version is 2.6.2
  • librdkafka client configuration:
  • Operating system: RHEL
  • Provide logs
    % Java JAAS configuration is not supported, see https://github.com/edenhill/libr dkafka/wiki/Using-SASL-with-librdkafka for more information.
  • Provide broker log excerpts
  • Critical issue
@edenhill
Copy link
Contributor

You will need to contact AWS support for help with MSK.

@priyarv1210
Copy link
Author

priyarv1210 commented Mar 28, 2022

This is not about issue in MSK. But not able to use MSK for configs in librdkafka library. Please advise.

@mwatson-x
Copy link

You will need to contact AWS support for help with MSK.

@edenhill This seems odd because the people at AWS are saying that this should be supported by you. aws/aws-msk-iam-auth#10 (comment)

This means that we are now caught in a weird situation where nobody has responsibility for supporting this functionality

@NaodFessahaye
Copy link

Any updates on this issue? Currently facing the same problem. I would greatly appreciate it if anyone could share resources on how they solved this problem. Thank you.

@crseat
Copy link

crseat commented Sep 12, 2024

Why is this issue closed? As far as I can see there has been no resolution.

@mensfeld
Copy link

@crseat the issue is closed because librdkafka supports IAM based auth via custom oauth callbacks with option to refresh them when needed.

@crseat
Copy link

crseat commented Sep 12, 2024

@mensfeld is there an example of that implemented anywhere for reference?

@mensfeld
Copy link

This is for Ruby framework built on top of librdkafka: https://karafka.io/docs/Deployment/#custom-oauth-token-providers - custom oauth token providers support works and it works with MSK as any other vendor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants