EventStore - reading events by creation time

If I want to read the EventStore stream ( http://geteventstore.com/ ) eg. event number 123, I just use ReadStreamEventsForwardAsync and set the position of the original stream (in this case, the value is 123).

I am wondering if there is a similar function to allow the user to read all events created after a specified date (for example, I want all events to be generated after 20-Dec-2014).

A naive implementation should be to simply read the whole stream and then filter the result on the ResolvedEvent "Created" field.

Edit: I just implemented a naive solution and noticed that it is causing the new function to return "ResolvedEvent []" instead of "StreamEventsSlice", thus introducing unnecessary inconsistency.

+3
cqrs event-sourcing get-event-store


source to share


No one has answered this question yet

Check out similar questions:

184
Using Kafka as (CQRS) Eventstore. A good idea?
13
Why does the event store have to be on the write side?
7
EventStore Subscribe to a stream for a category
five
Saga EventSourced Implementation
4
How do I organize an Event Sourcing event handler to build the reader model?
4
Is Jonathan Oliver's EventStore actively developed?
2
EventStore: training to use
0
Events from AxonDB event store are not arriving in my TrackingEventProcessor
0
How to deal with remote event classes when searching for sources



All Articles
Loading...
X
Show
Funny
Dev
Pics