Description
The Kafka channel commits the consumer offsets when shutting down (via stop() -> decommissionConsumerAndRecords())
This can lead to data loss if the channel is shut down while messages have been fetched in a transaction but the transaction has not yet been committed.
The only time that the offsets should be committed is when a transaction is complete.
Attachments
Attachments
Issue Links
- links to