Interface KafkaTelemetryProducerTracingFilter<K,V>
- Type Parameters:
K
- key classV
- value class
public interface KafkaTelemetryProducerTracingFilter<K,V>
Interface to filter producer messages for tracing.
- Since:
- 5.0.0
-
Method Summary
-
Method Details
-
filter
boolean filter(@NonNull @NonNull org.apache.kafka.clients.producer.ProducerRecord<K, V> record, @NonNull @NonNull org.apache.kafka.clients.producer.Producer<K, V> producer) Filter method for producer records, which should be traced.- Parameters:
record
- the producer recordproducer
- the producer- Returns:
- true if this producer record should be traced, false - otherwise.
-