Does kafka support(or plans to) ack granularity in Batch processing with dead letter queue configured.
Does kafka allow sending a compressed ack of the form (19,-1,30,-1,48,-1,1), so that messages with Batch index 20, 51 and 99 are published to the Deadletter queue.
No. You have to send complete batch again.
If you want to get ack per message, you have to send them one by one, what might be inefficient.
And also you have to take care that either autocommit happens after processing or you have to change Kafka consumer in the way that you will send commits manually.
Dependently on statistics, how often some processing is broken, I would suggest:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With