Avro and/or Eventhub

Out ops team has set up EventHub on Azure as our Kafka instance. For those familiar with it, is it possible to configure Axon Framework to connect to EventHub? More specifically is it possible to either disable Avro in EventHub (not an Axon Framework question), or enable Avro serialization for the Axon Framework?

Hi,

Axon doesn’t have support for these directly, however, it isn’t too hard to implement those yourself. You can take a look at the SpringAMQPPublisher and SpringAMQPMessageSource classes in the axon-amqp-extension module.
Similarly, to implement a serializer, you can take the JacksonSerializer or XStreamSerializer as an example.

Cheers,

Allard