I was exploring axon-kafka component to distribute events.
I have changed my event store and query side data store from mongodb to mysql and i am getting this error.
com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class org.axonframework.kafka.eventhandling.consumer.KafkaTrackingToken and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS).
it seems that the KafkaTrackingToken isn’t compatible with the JacksonSerializer. We generally recommend using the XStreamSerializer for everything but messages. When using Spring, you annotate your JacksonSerializer with @Qualifier(“messageSerializer”) and when using configuration API, register it as Message Serializer in the Configurer.