Open sonawanedheeraj6 opened 1 year ago
without using schema registry
AvroConverter class requires Schema Registry
use the jsonConverter Schema for AvroConverter
Not possible. Avro is not JSON. You cannot have schema embedded in the record, only the payload as avro-serialized bytes.
how can we pass the avro schema with payload without using the avro schema registry
Use a different converter https://github.com/farmdawgnation/registryless-avro-converter
I have implemented the JDBC sink using JsonConverter and it is working correctly as expected. Following is my JsonConverter Schema which i am trying to publish.
But now i want to use the AvroConverter and want to pass the payload like the above schema without using schema registry.
I tried updating the schema as per AvroConverter as follows.
But after passing the above schema i am getting following error
Can anyone please suggest how can i use the jsonConverter Schema for AvroConverter? Orelse can anyone tell how can we pass the avro schema with payload without using the avro schema registry?