Hi,
I’m using axon version 4.0.3, and thought I could combine that with the maven module axon-kafka 4.0-M2 (https://mvnrepository.com/artifact/org.axonframework/axon-kafka/4.0-M2).
However, when running it gives an exception :
java.lang.NoSuchMethodError: org.axonframework.serialization.xml.XStreamSerializer: method ()V not found
The KafkaPublisherConfiguration tries to instantiate an XStreamSerializer using a default constructor. However, the XStreamSerializer in axon-messaging 4.0 does not have a default constructor!
Hasn’t had that for quite a while apparantly.
In the repository I noticed that the kafka module was extracted in a seperate repository (https://github.com/AxonFramework/extension-kafka), which contains a tag for 4.0-RC2 …
however, this code base does not even have a KafkaPublisherConfiguration.
What maven configuration and spring configuration (non-boot) should I use to have Axon publish stored events to a kafka topic ?
Kind regards,
David