Hello,
I work with NiFi v1.3 and publish avro messages by using PublishKafkaRecord_0_10 to Kafka.
However, when I use kafka-avro-console-consumer to consume avro from Kafka topic, I saw below errors:
ERROR Unknown error when running consumer: (kafka.tools.ConsoleConsumer$:105)
org.apache.kafka.common.errors.SerializationException: Error deserializing Avro message for id -1
Caused by: org.apache.kafka.common.errors.SerializationException: Unknown magic byte!
When I use kafka-console-consumer to consume, everything goes well.
Any ideas to make the avro messages published from NiFi deserializable for Confluent Avro deserializer?
Thanks.