Hello guys. I am newby in Axon Server, so please help me to find out the root cause of problem. I am working on microservices architecture and have such problem on services which use posgresql DB. After axon server restarted our event handlers do not catch any events. Everything continue working when we remove records from token_entry table, and all events which were published earlier start processing. No errors on service and Axon Server sides. We are using axon spring boot starter 4.9.0 version, have such config for token store
@Bean
public TokenStore tokenStore(EntityManagerProvider entityManagerProvider, Serializer serializer) {
return JpaTokenStore.builder()
.entityManagerProvider(entityManagerProvider)
.serializer(serializer)
.build();
}
and for tracking event processor
@Autowired
public void configure(EventProcessingConfigurer configurer) {
configurer.usingTrackingEventProcessors();
configurer.registerTrackingEventProcessorConfiguration(
config -> TrackingEventProcessorConfiguration.forSingleThreadedProcessing()
);
}
Any help would be appreciated