Interface KafkaTelemetryConsumerTracingFilter<K,V>
- Type Parameters:
K
- key classV
- value class
public interface KafkaTelemetryConsumerTracingFilter<K,V>
Interface to filter consumer messages for tracing.
- Since:
- 5.0.0
-
Method Summary
-
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 recordconsumer
- the consumer- Returns:
- true if this consumer record should be traced, false - otherwise.
-