According to http://cre8ivethought.com/blog/2009/11/12/cqrs--la-greg-young the component responsible for publishing events using an event publisher is the repository.
My question simply is: Why is that?
In this blog post we are told that:
The domain repository is responsible for publishing the events, this would normally be inside a single transaction together with storing the events in the event store.
I would have expected this as a task of the event store: Once an event (or multiple events) has been stored, it's published.
So why is it on the repository?