Open mmatviienko opened 2 years ago
@bgranvea, maybe you could help here ?
I've tested your docker-compose (just replaced the schema with my own avsc) and the message is displayed decoded.
My guess is that you don't produce the message in the "raw avro" format as it is intended here. See documentation https://akhq.io/docs/configuration/avro.html and an example in https://github.com/tchiotludo/akhq/blob/dev/src/test/java/org/akhq/utils/AvroToJsonDeserializerTest.java (method toByteArray).
As far as I remember, you can't produce this type of message directly in the UI. The "produce to topic" with a selection of a schema is a different feature that will use Avro with a schema registry.
Make sense, PR are welcome on that in order to display the raw Avro schema in the produce drop-down and to publish with raw Avro
I'm trying to configure Avro deserialisation without having a schema registry like it is implemented in https://github.com/tchiotludo/akhq/pull/843 However, it seems it does not work. I can see that avro folder with schemas are in the container, but on UI the message is still shows as encoded and I can't select my schemas when trying to publish to the topic.
here is my docker-compose
And here is UI
and here is the akhq container