logstash-plugins / logstash-codec-avro

A logstash codec plugin for decoding and encoding Avro records
Apache License 2.0
15 stars 63 forks source link

Error when using avro file as input : general error reading file - error: #<NoMethodError: undefined method `type_sym' for nil:NilClass> #27

Open double0331 opened 7 years ago

double0331 commented 7 years ago

For all general issues, please provide the following details for fast resolution:

-Schema file: cat schema.avsc { "type": "record", "name": "extraction", "fields": [ {"name": "schedule_name", "type":["string","null"]} ] }

alidisi commented 5 years ago

@double0331 have you ever resolve the problem, can show the way to resolve the problem, i will appreciate that

kujon commented 4 years ago

Did anyone manage to figure out a workaround?

double0331 commented 4 years ago

I change the avro file to txt file and then use the logstash...

netsplit commented 3 years ago

I experienced the same in combination with Confluents Schema Registry and messages that were encoded with Confluents Avro Wire Frame format. Using https://github.com/revpoint/logstash-codec-avro_schema_registry instead of the default plugin solved this problem for me.