Esempio n. 1
0
 public KafkaListener(IServiceScopeFactory serviceFactory, IOptions <KafkaOptions> options)
 {
     _kafkaOptions   = options.Value;
     _topics         = _kafkaOptions.Topics.Split(";");
     _serviceFactory = serviceFactory;
 }