AVRO – nullable logicalType decimal payload error
I’m trying to send messages to a topic using confluent’s lib-kstreams, but I’m having some problems.
My avro is defined as:
"type": [ "null", { "type":"bytes", "logicalType":"decimal", "precision":2, "scale": 0 } ]
As you can see, this field is optional, so I have to prepare the payload like this.
"value":{"decimal":"@1ó33333"},
But I get this error,