Exemplo n.º 1
0
 public KafkaSink(KafkaClientConfiguration configuration,
                  KafkaSinkConfiguration sinkConfiguration)
     : base(sinkConfiguration.BatchPostingLimit, sinkConfiguration.Period)
 {
     _formatter = sinkConfiguration.TextFormatter;
     _client    = new KafkaClient(configuration);
 }
Exemplo n.º 2
0
 public KafkaClient(KafkaClientConfiguration clientConfiguration)
 {
     _config = clientConfiguration;
 }