Closed geomagilles closed 3 years ago
Hi As far as I know, there is no decoder at the moment that handles byteArray.
For now, you could use something similar like this:
"type":"record",
"name":"Test",
"namespace":"com.example",
"fields":[
{
"name":"payload",
"type":{
"type":"map",
"values":{
"type":"record",
"name":"ByteArrayHolder",
"fields":[
{
"name":"bytes",
"type":"bytes"
}
]
}
}
}
]
}
As far as I know, there is no decoder at the moment that handles byteArray.
I believe this is ByteArraySerializer()
This class:
triggers this error when decoding:
For example with
While same Json ser/de works and despite a correct avro schema generated:|