We are using CQRS and Event Sourcing using Axon 4.
We have the following scenario.
Domain Book
- Action- Create new Book into DB using the Axon CRQS and event sourcing flow (Command - Aggregate - Event)
- Action- Update the already created Book into DB using the Axon CRQS and event sourcing flow (Command - Aggregate - Event)
- In the Axon event store this two commands explained above (createCommand and updateCommand) have the same "aggregateIdentifier" id, they are in the same Aggregate tree, because we are working on the same Aggregate root.
- In the Axon event store this commands have different "aggregateSequenceNumber", also this is normal and expected
At this point we are doing replay events by processingGroup, and this works fine, now we want to do more complex replay of the events
Question
How can we create resetTokens that will replay only the events with some "aggregateIdentifier" id (one Aggregate tree), this means we want to replay only the events related to some book (Aggregate tree) and not all books ?
Is this functionality supported by the Axon 4 ?