Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.14.4, 1.15.4, kafka-3.0.0, 1.16.2, 1.17.1
Description
Steps to reproduce:
- Set up a Kafka topic with 10 partitions
- produce records 0-9 into the topic
- take a savepoint and stop the job
- produce records 10-19 into the topic
- restore the job from the savepoint.
The job will be missing usually 2-4 records from 10-19.
My assumption is that if a partition never had data (which is likely with 10 partitions and 10 records), the savepoint will only contain offsets for partitions with data.
While the job was offline (and we've written record 10-19 into the topic), all partitions got filled. Now, when Kafka comes online again, it will use the "latest" offset for those partitions, skipping some data.
Attachments
Issue Links
- links to