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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠