I have a structured XML
data. I want to convert this XML to AVRO(or JSON)
using AVRO schema
. I've defined the AVRO schema for this XML. But how can I convert it in java?
Actually, I want to convert received xml data from the server to the JSON/AVRO format in the Kafka Connect
. What is the best way to do this?