I have heard that one of the major benefits to using CQRS, is the ability to replay your events from the event store to the event bus. With this ability, you can drop all of your view caches, and have them repopulated from the events that are replayed. Does anyone have any practical experience with doing this? Is there anything in Axon that could assist in this task? How would one go about doing something like this?
Along the same lines, if I was interested in adding a new event handler that would populate a new view cache, would I have to
1.) Drop all of the view caches
2.) Deploy the new handler
3.) Replay all of the events to update the new view caches as well as the pre-existing that was dropped…
Is there a way to deploy the new event handler, and have it populate it’s view cache without dropping the other view caches.