MSK cluster with SCRAM-SHA-512 suddenly throws authentication error

0

Hi,

I have an MSK with SASL SCRAM-SHA-512 and all pubs/subs connected to it never had a problem until now - Authentication failed during authentication due to invalid credentials with SASL mechanism SCRAM-SHA-512; I see this message in the logs and there is obviously a problem publishing messages right now.

The applications(NestJS using Kafkajs under the hood) are retrieving the secret associated with the cluster at runtime plus the list of brokers and they used to connect successfully:

https://kafka.js.org/docs/1.10.0/configuration#sasl

                              ssl: true,
                                sasl: {
                                    mechanism: KAFKA_SASL_MECHANISM,
                                    username,
                                    password,
                                },

Nothing in the cluster s configuration has changed - the security group is the same, and the cluster configuration. Cluster doesn't have any ACLs. Any ideas would be appreciated.

1 回答
0

Hello.

I think it would be good to check the two links below for your inquiry. https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-msk.html#pipes-msk-cluster-permissions https://docs.aws.amazon.com/msk/latest/developerguide/limits.html

If there is no change in setting, please check the phrase below. "Limits on TCP connections. A cluster that uses IAM access control can accept new connections at a rate of up to 20 TCP connections per broker per second for all broker types, except for the type kafka.t3.small. Brokers of type kafka.t3.small are limited to 4 TCP connections per broker per second."

Thank you.

AWS
已回答 1 年前

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

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

回答问题的准则