-
Couldn't load subscription status.
- Fork 23
Description
First of all, I just want to say how happy I am to see confluent release an official JS client. Love the idea to make it compatible with KafkaJS/node-rdkafka. 👍
Now for the issue
I don't see a way to get the current state / health of a consumer or producer using the KafkaJS api.
When using the node-rdkafka api, it looks like I can hook into lifecycle events using consumer.on('ready',...) etc.
But when using the KafkaJS api, the .on implementation is not implemented, and the state is marked private. With KafkaJS we were previously hooking into these lifecycle events to keep track of the consumer state, which we used for our Kubernetes readiness probes.
Is there any plan to implement events on the KafkaJS api?