Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3.0
Description
Currently in Structured Streaming, at the beginning of every micro-batch the offset to process up to for the current batch is persisted to durable storage. At the end of every micro-batch, a marker to indicate the completion of this current micro-batch is persisted to durable storage. For pipelines such as one that read from Kafka and write to Kafka, end-to-end exactly once is not support and latency is sensitive, we can allow users to configure offset commits to be written asynchronously thus this commit operation will not contribute to the batch duration and effectively lowering the overall latency of the pipeline.
SPIP Doc:
https://docs.google.com/document/d/1iPiI4YoGCM0i61pBjkxcggU57gHKf2jVwD7HWMHgH-Y/edit?usp=sharing
Attachments
Issue Links
- Is contained by
-
SPARK-40025 Project Lightspeed: Faster and Simpler Stream Processing with Apache Spark
- Open
- is related to
-
SPARK-41596 Document the new feature "Async Progress Tracking" to Structured Streaming guide doc
- Resolved
- links to