Hi @goopher, thanks for the answer!
You can use Axon Framework to help you on that in a form of a token. So, the EventStorageEngine has a
createTokenAt method that can help you on that but it very much depend on the use case. So, extra question for you, “Is it something that will help rarely?”
- If yes, I think its fine to have it implemented this way. You can use the
EventStorage to create a Token for you on the desired start timestamp, filter out the
Aggregate you want the Events for and also stop the stream at the desired end timestamp.
- If no, I would say this is a very IO expensive operation and would argue that constructing a query model for this purpose would be the best.
Hope it clarifies a bit more my thoughts.