Reputation: 637
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.
Upvotes: 4
Views: 795
Reputation: 2177
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:
Upvotes: 1