John Cox
Oct 24, 2022

Not sure if maybe we have different versions of the confluent kafka library, but in case somebody else runs into the same issues as me, here is the configuration I had to use to connect to MSK using SASL:

```

{

'bootstrap.servers': "your.bootstrap.server:9096",

'auto.offset.reset': 'end',

'security.protocol': 'SASL_SSL',

'group.id': uuid4().hex,

'sasl.mechanisms': 'SCRAM-SHA-512',

'sasl.username': 'your_user',

'sasl.password': 'your_pw'

}

```

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

John Cox
John Cox

Written by John Cox

Engineer, Leader, Adventurer

No responses yet

Write a response