revpoint / logstash-codec-avro_schema_registry

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

Add the ability to decorate events with schema metadata #12

Closed kphelps closed 4 years ago

kphelps commented 6 years ago

Thanks for this plugin.

I needed to access the name and namespace of the schema downstream from the codec. This adds a config option to decorate the events with some metadata. Feedback is appreciated.

ryananguiano commented 6 years ago

Sure. This looks like a good idea. What other attributes does schema expose?

We should either expose all possible attributes or have a setting for someone to choose which attributes they would like decorated.

kphelps commented 6 years ago

Sorry, took me a while to get back to this. I included the schema id from the registry as well. Doesn't look like there is anything else exposed from the schema object that we would want to include in the metadata.

sstafford commented 5 years ago

Are there any plans to resolve the conflicts and merge this change? This feature would be very helpful for filtering messages.

kphelps commented 5 years ago

Rebased this onto master. Can you take another look at this @ryananguiano?