We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So currently the all of the domain events have information about business facts.
If we want to publish them we need to add metadata like:
causationID, corellationID, uniqueMessageID etc
so PublishedEvent becomes DomainEvent + metadata
The text was updated successfully, but these errors were encountered:
So, if I understand correctly, do you mean that
public interface EventsStorage { void save(DomainEvent event); List<DomainEvent> toPublish(); void published(List<DomainEvent> events); }
should be more like
public interface EventsStorage { void save(DomainEvent event); List<DomainEvent> toPublish(); void published(List<PublishedEvent> events); }
Sorry, something went wrong.
I mean that PublishedEvent should keep DomainEvent inside :)
No branches or pull requests
So currently the all of the domain events have information about business facts.
If we want to publish them we need to add metadata like:
causationID,
corellationID,
uniqueMessageID
etc
so PublishedEvent becomes DomainEvent + metadata
The text was updated successfully, but these errors were encountered: