You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2018/09/05 06:02:00 UTC

[jira] [Updated] (SPARK-24863) Report offset lag as a custom metrics for Kafka structured streaming source

     [ https://issues.apache.org/jira/browse/SPARK-24863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shixiong Zhu updated SPARK-24863:
---------------------------------
    Fix Version/s:     (was: 2.4.0)

> Report offset lag as a custom metrics for Kafka structured streaming source
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-24863
>                 URL: https://issues.apache.org/jira/browse/SPARK-24863
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Structured Streaming
>    Affects Versions: 2.4.0
>            Reporter: Arun Mahadevan
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org