Package

com.twitter.finatra.streams

interceptors

Permalink

package interceptors

Visibility
  1. Public
  2. All

Type Members

  1. class KafkaStreamsMonitoringConsumerInterceptor extends MonitoringConsumerInterceptor

    Permalink

    An Kafka Streams aware interceptor that looks for the publish_time header and record timestamp and calculates how much time has passed since the each of those times and updates stats for each.

    An Kafka Streams aware interceptor that looks for the publish_time header and record timestamp and calculates how much time has passed since the each of those times and updates stats for each.

    Note: Since this interceptor is Kafka Streams aware, it will not calculate stats when reading changelog topics to restore state, since this has been shown to be a hot-spot during restoration of large amounts of state.

Ungrouped