Skip to content
New issue

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

Add EventStreamAuditor class #8

Open
MV10 opened this issue Oct 3, 2020 · 0 comments
Open

Add EventStreamAuditor class #8

MV10 opened this issue Oct 3, 2020 · 0 comments
Labels
enhancement New feature or request high-priority Implement as soon as possible

Comments

@MV10
Copy link
Owner

MV10 commented Oct 3, 2020

Add a class used to audit an object's domain event history.

Instance should not be tied to a specific ID, just new() it and use it.

Search domain event history for a given ID:

  • read all events or just specific events
  • find first event
  • find last event
  • count events

For all search methods:

  • optional event state predicate
  • optional timestamp range
  • optional ETag range
  • option to produce a snapshot for each match (requires replay, probably expensive)

Provide variation on search methods to return a list of matching object IDs (without snapshot replay, too expensive).

Provide domain event replay methods to reproduce an ID's state for a point in time:

  • replay through timestamp (inclusive)
  • replay to ETag (inclusive)
@MV10 MV10 added enhancement New feature or request high-priority Implement as soon as possible labels Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high-priority Implement as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant