Consuming Avro serialized events on Kafka


Currently I am trying to consume a Avro serialized Kafka event in Flowable, unfortunately with no luck. I have seen a comparable post about this issue (link: Event Registry - Kafka - Avro - #4 by nadaesposible), but was unable to extract a fitting solution. My question is how to setup a Avro deserializer in the Flowable boot-spring config, so we can consume the events. In the linked post user mentioned that he was able to avoid a custom delegate implementation.

Another possible solution would be to consume the raw message without deserializing it in the first place (so an option in the channel definition to set deserializeType to binary), the avro payload could be handed off to a seperate rest service to deserialize it.

Thanks in advance,