Exemplo n.º 1
0
 public KafkaTransportContext(ISendPipe sendPipe, IHostConfiguration hostConfiguration, KafkaTopicAddress topicAddress,
                              IProducerContextSupervisor <TKey, TValue> supervisor)
     : base(hostConfiguration)
 {
     _hostConfiguration = hostConfiguration;
     _supervisor        = supervisor;
     SendPipe           = sendPipe;
     TopicAddress       = topicAddress;
 }
Exemplo n.º 2
0
 public TopicProducer(KafkaSendTransportContext context, IProducerContextSupervisor <TKey, TValue> supervisor)
 {
     _context    = context;
     _supervisor = supervisor;
 }