Kafkajs-consumer status shows "ready" at the beginning and then shows "offline" immediately

Hello Everyone,
I am using kafkajs-consumer node to connect to kafka broker and trying to get data from the broker. I have configured the consumer node with given "broker id, topic-name, group-id, client-id" and i am using sasl authentication, mechanism = plain and with given username and password. Also "use SSL" option is selected.

At first the consumer node shows "ready" status but then immediately it goes "offline" and then after few seconds goes to "idle".

I have reconfigured the kafkajs-consumer node multiple times but the problem remains the same. Please let me know if i am still missing any configuration. Any suggestions would be really helpful.

Thank you very much.

Best Regards,

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.