-
-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KafkaJSNonRetriableError Caused by: KafkaJSError: This is not the correct coordinator for this group at /usr/app/node_modules/kafkajs/src/consumer/consumerGroup.js:361:17 #1536
Comments
It seems like this was a Kafka issue. A broker restart did solve the problem. I am not sure if there is a better way to solve it, however. |
This happens whenever the brokers are updated and do not fix themselves with a consumer restart. The only fix we have to date is to restart every broker. The weird part is that all of our Lambda MSK consumers do not have this issue; only our ECS consumers use KafkaJS. It seems like the KafkaJS instance is constantly pinging the wrong broker. |
Hi @Borduhh , I see the above error and also other non retriable errors like topic authorization failed and consumer group authorization failed errors. |
@Jabbar-Zoop , |
@shg95 This is what my code look like.Let me know what i am missing
|
@Jabbar-Zoop ,
This will create a new kafka connection and then you connect the consumer. |
@shg95 i am getting below error frequently in an interval of 1hr what could be possible reason
|
Describe the bug
Getting the following error when connecting to an AWS MSK cluster:
To Reproduce
Expected behavior
The consumer should connect just as it did before.
Observed behavior
The consumer failed with the following error:
The text was updated successfully, but these errors were encountered: