com.twitter.finatra.kafka.producers
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 in directly.
The serializer for value that implements Serializer. The
configure()serializer is passed in directly.
An extension of KafkaProducer with Zipkin tracing to trace the records sent to Kafka. This is inspired by openzipkin's brave instrumentation. We need a custom implementation and not a ProducerInterceptor because to enable end-to-end tracing of the records sent to Kafka, we need the same trace id in the callback which is not possible in the interceptor because it's called in a background thread which is not Finagle controlled.
type of Key
type of value