zio.kafka.consumer.metrics.ConsumerMetricsObserver
See theConsumerMetricsObserver companion object
trait ConsumerMetricsObserver
Implementations of this trait are responsible for observing consumer metrics and collect the measurements. The different methods are invoked from different places in the consumer.
These methods hold up the consumer; they should return quickly or else throughput of the consumer will be affected.
Users can provide a custom implementation via zio.kafka.consumer.ConsumerSettings.withMetricsObserver.
WARNING: this is an UNSTABLE API and may change in an incompatible way without notice in any zio-kafka version.
Attributes
- Companion
- object
- Source
- ConsumerMetricsObserver.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object NoOp
Members list
In this article