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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则