I'm having trouble committing the whole batch at once processing it. In the docs I see an example where they resolve the offset of a single message from the batch after processing it, I need to resolve the offset or commit them, after processing all of the messages in the batch.
Can I do this with the built-in eachBatchAutoResolve
? Do I need anything else like resolveOffset
, or is that it?