apache/fluss

[Feature] Flink Connector support pendingRecords metric

Open

#138 建立於 2024年12月6日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)Java (570 fork)auto 404
component=connector/flinkgood first issue

倉庫指標

Star
 (1,979 star)
PR 合併指標
 (PR 指標待抓取)

描述

Originally posted by luoyuxia November 28, 2024

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Although we has coverd most of standard metrics defined in FLIP-33: Standardize Connector Metrics, we still miss the metrics of pendingRecords which help us to trace data backlog.

Solution

pending records = latest log offset - fetched log offset.

For snapshot read phase of primary key table, it should be total records in kv snapshot - records emited, but to simplify, we can just trace the phase of incremental reading which read from change log.

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

貢獻者指南