You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/04 21:56:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16603645#comment-16603645 ]
Apache Spark commented on SPARK-24863:
--------------------------------------
User 'zsxwing' has created a pull request for this issue:
https://github.com/apache/spark/pull/22334
> 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
> Assignee: Arun Mahadevan
> Priority: Major
> Fix For: 2.4.0
>
>
> 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