public SampleService(IConsumer messageCommandConsumer, IPublisher publisher, TopologyBootstrapper topologyBootstrapper) { _messageCommandConsumer = messageCommandConsumer; _publisher = publisher; _topologyBootstrapper = topologyBootstrapper; _stopped = false; }
public SampleService(IConsumer messageCommandConsumer, IPublisher publisher, TopologyBootstrapper topologyBootstrapper, ContentType contentType) { _messageCommandConsumer = messageCommandConsumer; _publisher = publisher; _topologyBootstrapper = topologyBootstrapper; _stopped = false; _contentType = contentType.Type; }