Interface KafkaTelemetryConsumerTracingFilter<K,V>

Type Parameters:
K - key class
V - value class

public interface KafkaTelemetryConsumerTracingFilter<K,V>
Interface to filter consumer messages for tracing.
Since:
5.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    filter(@NonNull org.apache.kafka.clients.consumer.ConsumerRecord<K,V> record, @NonNull org.apache.kafka.clients.consumer.Consumer<K,V> consumer)
    Filter method for consumer records, which should be traced.
  • Method Details

    • filter

      boolean filter(@NonNull @NonNull org.apache.kafka.clients.consumer.ConsumerRecord<K,V> record, @NonNull @NonNull org.apache.kafka.clients.consumer.Consumer<K,V> consumer)
      Filter method for consumer records, which should be traced.
      Parameters:
      record - the consumer record
      consumer - the consumer
      Returns:
      true if this consumer record should be traced, false - otherwise.