I'm trying to create a script to deserialize some Avro messages that comes from Kafka.
The messages have a format like:
{
"value": {
"value1": {
"string": "AAAA"
}
}
}
and I need it to be something like that
{
"value": {
"value1": "AAAA"
}
}
Basically, delete that string.
I have schemas for both of them.
I need to move from the message that is serialized with a schema to a message that is deserialized with another schema.
I tried to do something with python avro/fastavro, but I didn't succed.
I can not just delete that and format because the Avro that I need to reformat are much more complex. So, I need something that will reformat these avros based on my schemas.