revpoint / logstash-codec-avro_schema_registry

A logstash codec plugin for decoding and encoding Avro records
Other
26 stars 23 forks source link

Continue on error #16

Closed robertlabrie closed 6 years ago

robertlabrie commented 6 years ago

We had an issue where processes putting avro encoded messages onto the kafka topic were doing so with valid avro, but an invalid schema id. This should not happen, but it did happen. Anyway, this is what we did to get around it, by logging the message we can track down the process which created it, but not crash logstash (which is the current behavior).

ryananguiano commented 6 years ago

I just copied tag_on_failure from https://github.com/logstash-plugins/logstash-codec-avro/blob/master/lib/logstash/codecs/avro.rb#L79

Let me know if this doesn't solve your issue.