As mentioned in the docs, "Currently, Kafka sinks only support writing JSON data, with the structure determined by the schema of the data being written."
It will be a really nice and useful feature to support avro schema for kafka sink. For example, currently in our use case, all data written to and read from kafka are avro-based.
Oh, it seems that it's already supported! I managed to make it work by specifying this parameter 'avro.confluent_schema_registry' = 'true' in the sink definition.
As mentioned in the docs, "Currently, Kafka sinks only support writing JSON data, with the structure determined by the schema of the data being written."
It will be a really nice and useful feature to support avro schema for kafka sink. For example, currently in our use case, all data written to and read from kafka are avro-based.