我正在研究轴突框架,我无法理解如何通过限制 EventStore 加载的事件来重现过去的情况。我正在使用这个配置:
EventSourcingRepository 存储库 = EventSourcingRepository.builder (ShipmentAggregate.class) .eventStore (eventStore) .build ();
如何将事件加载限制到给定的蜡或渐进基准?谢谢。
我正在研究轴突框架,我无法理解如何通过限制 EventStore 加载的事件来重现过去的情况。我正在使用这个配置:
EventSourcingRepository 存储库 = EventSourcingRepository.builder (ShipmentAggregate.class) .eventStore (eventStore) .build ();
如何将事件加载限制到给定的蜡或渐进基准?谢谢。