public EventStoreToQueueDistributor(
     string queueName,
     IQueueFactory queueFactory,
     IEventStore eventStore,
     IDocumentStore projectionStore,
     ISerializer serializer)
 {
     _markerReader = projectionStore.GetReader<string, EventStoreMarker>();
     _markerWriter = projectionStore.GetWriter<string, EventStoreMarker>();
     _queueName = queueName;
     _eventStore = eventStore;
     _queueWriter = queueFactory.CreateWriter(queueName);
     _serializer = new QueueMessageSerializer(serializer);
 }