关注 spark技术分享,
撸spark源码 玩spark最佳实践

StreamingQueryProgress

StreamingQueryProgress

StreamingQueryProgress holds information about the progress of a streaming query.

StreamingQueryProgress is created exclusively when StreamExecution finishes a trigger.

Note

Use lastProgress property of a StreamingQuery to access the most recent StreamingQueryProgress update.

Note

Use recentProgress property of a StreamingQuery to access the most recent StreamingQueryProgress updates.

Note

Use StreamingQueryListener to get notified about StreamingQueryProgress updates while a streaming query is executed.

Table 1. StreamingQueryProgress’s Properties
Name Description

id

Unique identifier of a streaming query

runId

Unique identifier of the current execution of a streaming query

name

Optional query name

timestamp

Time when the trigger has started (in ISO8601 format).

batchId

Unique id of the current batch

durationMs

Durations of the internal phases (in milliseconds)

eventTime

Statistics of event time seen in this batch

stateOperators

Information about stateful operators in the query that store state.

sources

Statistics about the data read from every streaming source in a streaming query

sink

Information about progress made for a sink

赞(0) 打赏
未经允许不得转载:spark技术分享 » StreamingQueryProgress
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏