Hi, check kafka-avro-console-producer
./bin/kafka-avro-console-producer \ --broker-list localhost:9092 --topic test \ --property value.schema='{"type":"record","name":"myrecord","fields":[{"name":"f1","type":"string"}]}' https://docs.confluent.io/3.0.0/quickstart.html -- Miguel Silvestre On Fri, May 8, 2020 at 10:53 AM wangl...@geekplus.com.cn < wangl...@geekplus.com.cn> wrote: > > I can consume avro serialized data from kafka like this: > > bin/kafka-console-consumer.sh --bootstrap-server xxx:9092 --topic xxx > --property print.key=true --formatter > io.confluent.kafka.formatter.AvroMessageFormatter --property > schema.registry.url=http://xxx:8088 > > It is possible to send avro serialized data to kafka using > kafka-console-producer.sh? > > Thanks, > Lei > > > wangl...@geekplus.com.cn > >