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