Someone please help me to config Tracking Event Processors and replay manualy in Axon 3 ?Thanks !
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@Inject public void configure(EventHandlingConfiguration config) { config.usingTrackingProcessors(); }
@Bean public Serializer serializer() { return new JavaSerializer(); }
@Bean public TokenStore tokenStore(org.axonframework.config.Configuration config) throws SQLException { return new JdbcTokenStore(springDataSourceConnectionProvider(), config.serializer()); }
@Bean public SpringDataSourceConnectionProvider springDataSourceConnectionProvider() { return new SpringDataSourceConnectionProvider(dataSource); }--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Clément,for optimization reasons, the tracking processor doesn't read the token from the database each time if it has already read one. To force a replay while the application is running, you must shutdown the processor, then delete the token, and then start the processor again. This will force it to restart from the beginning.Cheers,Allard
Op do 7 sep. 2017 om 17:03 schreef Clément MATHIEU <cle...@unportant.info>:
On 2017-08-22 09:19, Steven van Beelen wrote:
Hi Steven,
> You'd thus drop the 'UsersToken' from the 'tokenStore', when you're
> application is down, and restart the app.
Is it possible to trigger a replay while the app is running ?
I have a listener which is in charge of updating a remote service and
had like to replay all events when I detect that something bad happened
to the remote service. I tried to remove the token_store_entry from the
listener but it does not seems to work (EventListener still see
"original" lastToken).
Regards,
Clément
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframework+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Allard BuijzeCTOT: +31 6 34 73 99 89
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframework+unsubscribe@googlegroups.com.
stopProcessor()
removeTokenEntry()
startProcessor()
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.