I want to serialize an Avro data into Kafka using Schema Registry, Spark SQL, Kafka and Avro.
I tried to utilize to_avro
method that accepts only the column
parameter. I want to utilize the schema
registry to write into Kafka an Avro data. Schema registry normally returns an ID to identify an Avro schema.
Is there a solution to this problem?