コード例 #1
0
ファイル: Consumer.cs プロジェクト: GedGonz/OrdersConsole
 public Consumer(KafkaOprtions options, bool _commitOnConsume = false)
 {
     this._commitOnConsume = _commitOnConsume;
     _consumerConfig       = new ConsumerConfig(options.Configuration);
 }
コード例 #2
0
ファイル: Publisher.cs プロジェクト: GedGonz/OrdersConsole
 public Publisher(KafkaOprtions options)
 {
     this._producerConfig = new ProducerConfig(options.Configuration);
     rnd = new Random();
 }