public async Task RegisterAsync(IEventProcessor eventProcessor)
 {
     _eventProcessors.Add(eventProcessor);
     foreach (var eventType in eventProcessor.GetEventTypes())
     {
         await RegisterAsync(eventType);
     }
 }