flipp-oss / deimos

Framework to work with Kafka, Avro and ActiveRecord
Other
59 stars 22 forks source link

Add schema backends #47

Closed dorner closed 4 years ago

dorner commented 4 years ago

This introduces the concept of schema backends, allowing us to define different backends which we can swap in.

There are several main benefits of this:

Note that as part of this change, to keep consistency with the new SchemaBackends::Base class, I renamed PublishBackend to Backends::Base.

This also fixes #33, #10, part of #16, and part of #13.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Unit tests, as well as ran locally both with and without schema registry. Still needs to be tested on a live system.

Checklist:

dorner commented 4 years ago

@colinmroberts changes made