How to connect Glue to MSK with IAM authentication?

0

When setting up a Glue Connection for our MSK cluster configured woth IAM authentication, the broker disconnects the connection from Glue jobs using the connection with a message that says SASL failed. We have given ghe role used on the Glue job full permission. Is it currently possible to connect using IAM authentication?

asked 2 years ago1593 views
3 Answers
0

Hello,

Now AWS Glue supports to process data from Kafka using IAM authentication menthod. For this you need to create a connection glue and select IAM authentication menthod.

AWS
answered 10 months ago
  • Hello

    No unfortunately MSK connector with IAM authentication for Glue is not working for me. Though in the console it appears but when I choose that option it does not work. Seems a bug in Glue console. Checked in the AWS Documentation. Could not find any mention of MSK connector with IAM authentication for Glue

0

Currently, AWS Glue does not integrate with Amazon MSK clusters configured to use AWS IAM access control.

You can connect to MSK clusters using IAM Access Control from other AWS services, such as Amazon EMR and Amazon Kinesis Data Analytics. In these cases, you configure the Kafka client to use MSK IAM authentication.

Also, AWS Lambda has its own integration with MSK clusters using IAM Access Control, through an Event Source Mapping. By taking this approach, the Kafka client is configured for you.

AWS
Jay
answered 2 years ago
0

Hello,

I have published a blog which discuss about how to integrate AWS Glue ETL job with MSK serverless using IAM authentication. Hope it helps.

https://aws.amazon.com/blogs/big-data/securely-process-near-real-time-data-from-amazon-msk-serverless-using-an-aws-glue-streaming-etl-job-with-iam-authentication/

AWS
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions