Skip to content

[Metrics] Provide a metric for consumer lag #1958

Description

@polyzos

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currently, Fluss provides currentFetchEventTimeLag, currentEmitEventTimeLag, and pendingRecords metrics in the Flink source.

However, it doesn't support out of the box a metric for consumer offset (similar to the consumer lag in Kafka), which can be useful to users.

For reference: https://www.redpanda.com/guides/kafka-performance-kafka-consumer-lag

Solution

We should support this metric in Fluss so that all the clients/connectors can leverage it.

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions