// a Simple Event Bus will do
EventBus eventBus = new SimpleEventBus();
// we register the event handlers
AnnotationEventListenerAdapter.subscribe(new ToDoEventHandler(), eventBus);
// we use default settings for the disruptor command bus
DisruptorCommandBus commandBus = new DisruptorCommandBus(eventStore, eventBus);
// now, we obtain a repository from the command bus