Blizzard / node-rdkafka

Node.js bindings for librdkafka
MIT License
2.1k stars 390 forks source link

[Question] How do I commit after handling a batch of messages? #994

Open ErlendFax opened 1 year ago

ErlendFax commented 1 year ago

I'm planing to write a program that reads messages in batches. Stores them to a DB, and then finally commits the messages on success.

I'm having problems understanding and finding examples that does this.