public KafkaSalesAnalyzerAdapter(ISaleDataProcessor saleDataProcessor) { _saleDataProcessor = saleDataProcessor; _consumerConfig = new ConsumerConfig { AutoOffsetReset = AutoOffsetReset.Earliest, BootstrapServers = KafkaServer, GroupId = ConsumerGroup }; _producerConfig = new ProducerConfig { BootstrapServers = KafkaServer }; }
public FileSaleDataAdapter(ISaleDataProcessor saleDataProcessor) { this._saleDataProcessor = saleDataProcessor; }