Prashant Shahi
1 min readFeb 19, 2019

--

In kafka-avro-console-producer section, for s3_topic

{“f1”: “value1”}
{“f2”: “value2”}
{“f3”: “value3”}
{“f4”: “value4”}
{“f5”: “value5”}
{“f6”: “value6”}

Throws the following Exception:
```
Caused by: org.apache.avro.AvroTypeException: Expected field name not found: f1
```
I believe that you should change the example data to the following to make it work. Please, correct me if I am wrong.

{“f1”: “value1”}
{“f1”: “value2”}
{“f1”: “value3”}
{“f1”: “value4”}
{“f1”: “value5”}
{“f1”: “value6”}

--

--

No responses yet