public DomainExceptionConsumer InitializeKafka(ConsumerSetting setting) { InitializeENode(); Consumer = new Consumer(setting); _topicsManager = new TopicsManager(setting.BootstrapServers); return(this); }
public DomainEventPublisher InitializeKafka(ProducerSetting setting) { InitializeENode(); Producer = new Producer(setting); _topicsManager = new TopicsManager(setting.BootstrapServers); return(this); }
public ApplicationMessageConsumer InitializeKafka(ConsumerSetting setting) { InitializeENode(); Consumer = new Consumer(setting); _topicsManager = new TopicsManager(setting.BootstrapServers); return(this); }
public DomainEventConsumer InitializeKafka(ConsumerSetting setting, bool sendEventHandledMessage = true) { InitializeENode(sendEventHandledMessage); Consumer = new Consumer(setting); _topicsManager = new TopicsManager(setting.BootstrapServers); return(this); }
public ApplicationMessagePublisher InitializeKafka(ProducerSetting setting, Dictionary <string, object> kafkaConfig = null) { InitializeENode(); Producer = new Producer(setting); _topicsManager = new TopicsManager(setting.BootstrapServers); return(this); }
public CommandService InitializeKafka(ProducerSetting setting = null, CommandResultProcessor commandResultProcessor = null) { InitializeENode(); _commandResultProcessor = commandResultProcessor; Producer = new Producer(setting); _topicsManager = new TopicsManager(setting.BootstrapServers); return(this); }