Hi,
I'm having trouble configuring tracking event processor sin my application. I'm using Spring Boot and want to use JdbcTokenStore. I'm using SimpleEventBus and my app works nicely with default subscribing event processors. What I already did:
1. Created a TokenEntry table
2. Enabled tracking processors by doing:
@Autowired
public void configure(EventHandlingConfiguration config, EventStore eventStore) {
config.usingTrackingProcessors();
3. Set up JdbcTokenStore:
@Bean
public TokenStore jdbcTokenStore(@Qualifier("eventStoreDS") DataSource dataSource, Serializer serializer)
throws SQLException {
return new JdbcTokenStore(new SpringDataSourceConnectionProvider(dataSource), serializer);
}
4. Added a couple of @ProcessingGroup("...") over my event listeners.
The result is that token entries are inserted into TokenEntry but the 'token' and 'tokenType' columns are 'null' for all of them after processing the events. Anything else I need to do besides what I've already done?
Thanks!