we are currently facing the following issue:
We have added a new Saga to our code. Now, the TrackingEventProcessor for this new Saga is created with the tracking token “-1” which makes sense since there is not entry in the JpaTokenStore for this newly added Saga.
But we don’t want the new Saga to process all of the existing events from the very beginning. We only want it to process new events. So I’d like to set the initial tracking token for this Saga / TrackingEventProcessor to the head of the stream.
I’m unable to figure out how to achive this I’ve played around with stuff like TrackingEventProcessorConfiguration, EventProcessingConfigurer, etc. But I just can’t figure it out.
Any hints in the right direction are much appreciated