示例#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;
 }