public ProducerBuilderWrapper(KafkaProducerConnection connection)
 {
     _dependentProducerBuilder = new DependentProducerBuilder <TKey, TValue>(connection.Handle);
 }
 public KafkaProducer(KafkaProducerConnection connection, IKafkaSerializerFactory serializerFactory)
     : this(new ProducerBuilderWrapper <TKey, TValue>(connection), serializerFactory)
 {
 }