How to connect to public Amazon MSK cluster using SASL SCRAM using Confluent C# Kafka

0

I am attempting to connect to a public Amazon MSK cluster from a project using Confluent C#. I have a user specified in the secret manager in my Amazon MSK resource, and I have a topic created that can consume messages from within my VPC using SASL SCRAM authentication.

However, when I try to access the same topic using SASL SCRAM authentication with the same user using the public resource from my Confluent C# project, the data does not get consumed and I do not see any metrics or errors in the Amazon MSK resource. Using Confluent C#, here is an example of the parameters I am setting:

BootstrapServers = PublicKafkaBootstrapServers,
SaslMechanism = SaslMechanism.ScramSha512,
SecurityProtocol = SecurityProtocol.SaslSsl,
SaslUsername = Username, // same as secrets manager
SaslPassword = Password, // same as from secrets manager
Acks = Acks.All // msk cluster configuration has default.replication.factor=1, min.insync.replicas=1

What steps do I need to take in my Confluent C# project, or in my Amazon MSK cluster, to enable public access to topics in my Amazon MSK cluster?

Thanks in advance, let me know if more information is required.

1 Answer
0

Sign-in credentials authentication with AWS Secrets Manager - https://docs.aws.amazon.com/msk/latest/developerguide/msk-password.html

HTH

Thomas
answered 2 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