Hi.
There seem to be three different ways to reset the tokens for a processor:
`
public void resetTokens(){}
public void resetTokens(Function<StreamableMessageSource, TrackingToken> initialTrackingTokenSupplier) {}
public void resetTokens(TrackingToken startPosition) {}
`
When we perform a reset we also have a @ResetHandler to cleanout tables.
This is where we are hitting a problem
The resetHandler can have the ResetTriggeredEvent in its signature but it does not contain any indication of the reset timepoint.
So currently we can only do a reset to the beginning of time because in that case we know we have to delete the entire contents of the tables/views.
But we would like to also have the ability to reset to, for example, last week.
In that case we would need to know the reset timestamp in the resethandler.
Is there a way to get that information or is it maybe a feature that could be added (enrich the resetTriggerEvent with some useful data about the reset)
Kr
Tom.