Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2026 02:18 PM - edited 01-11-2026 02:20 PM
As I understand, you want to ingest "only new records coming through Kafka via old checkpoint path".
I would suggest that you can change .option("startingOffsets", "earliest") to .option("startingOffsets", "latest"). It would start reading from the newest offset and also avoid reprocessing of your old data. However, you would need to delete the old checkpoint path and start your stream after making the change.
P.S. - Don't try the above directly for production load.