示例#1
0
 public KafkaConsumer(KafkaConsumerFactory consumerFactory, IServiceProvider serviceProvider, EventRegistry eventRegistry, EventHandlerFactory eventHandlerFactory)
 {
     _consumerFactory     = consumerFactory;
     _serviceProvider     = serviceProvider;
     _eventRegistry       = eventRegistry;
     _eventHandlerFactory = eventHandlerFactory;
 }
示例#2
0
 public KafkaConsumer(KafkaConsumerFactory consumerFactory)
 {
     _consumerFactory = consumerFactory;
 }