Description
Currently, if there are no records to process in the input topic, a transaction does not commit. If a custom punctuator code is writing to a state store (which is common practice) the producer gets fenced when trying to write to the changelog topic. This throws a TaskMigratedException and causes a rebalance.
A better approach would be to commit a transaction even when there are no records processed as to allow the punctuator to make progress.
Attachments
Attachments
Issue Links
- links to