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?

已提問 2 年前檢視次數 1623 次
3 個答案
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
已回答 1 年前
  • 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
已回答 2 年前
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
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南