Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
2.4.0
-
None
Description
We can build on top of SPARK-24748 to report offset lag as a custom metrics for Kafka structured streaming source.
This is the difference between the latest offsets in Kafka the time the metrics is reported (just after a micro-batch completes) and the latest offset Spark has processed. It can be 0 (or close to 0) if spark keeps up with the rate at which messages are ingested into Kafka topics in steady state.
Attachments
Issue Links
- relates to
-
SPARK-24933 SinkProgress should report written rows
- Resolved
-
SPARK-25336 Revert SPARK-24863 and SPARK-24748
- Resolved
- links to