kafka-python icon indicating copy to clipboard operation
kafka-python copied to clipboard

Support for AWS MSK: AWS_MSK_IAM sasl mechanism

Open MarjanJordanovski opened this issue 2 years ago • 2 comments

Hello,

I have a MSK cluster, and connected my EC2 instance with it.

I would like to create a python script on that EC2, which will produce to, and consume from topics in my MSK cluster. Is it possible at the moment? I guess Producer needs to have sasl_mechanism='AWS_MSK_IAM' set, which I believe is not supported mechanism?

MarjanJordanovski avatar Apr 29 '22 14:04 MarjanJordanovski

You can have a look at this forked code which adds support for AWS_MSK_IAM

piyush-daga avatar Jul 26 '22 06:07 piyush-daga

AWS officially released msk ism sasl singer and it has example using dpkp/kafka-python. Take a look at this

zuerst avatar Feb 23 '24 18:02 zuerst