private static void SubscribeToIntegrationEvent <T>(IEventsBus eventBus, ILogger logger)
     where T : IntegrationEvent
 {
     logger.Information("Subscribe to {@IntegrationEvent}", typeof(T).FullName);
     eventBus.Subscribe(
         new IntegrationEventGenericHandler <T>());
 }