com.twitter.finatra.kafka.producers
Trace annotation for the client id defined inside CLIENT_ID_CONFIG.
Trace annotation for the client id defined inside CLIENT_ID_CONFIG. This is present as a BinaryAnnotation in the trace.
Trace annotation to record the send event.
Trace annotation for the topic being used by the publisher.
Trace annotation for the topic being used by the publisher. This is present as a BinaryAnnotation in the trace.
A Kafka Header to make the traceId of the producer visible to the consumer.
Helper constructor which accepts Properties for constructing the TracingKafkaProducer.
Helper constructor which accepts Properties for constructing the TracingKafkaProducer.
type of Key
type of value
The producer configs
The serializer for key that implements Serializer. The
configure()method won't be called in the producer when the serializer is passed directly.
The serializer for value that implements Serializer. The
configure()serializer is passed in directly.
an instance of TracingKafkaProducer