flipp-oss / deimos

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

Generated schema classes don't support tombstones #155

Closed dorner closed 1 year ago

dorner commented 2 years ago

There's no easy way to generate a tombstone record using generated schema classes. There should be a simple method called tombstone on the class that will take a value (either a key schema instance or a plain value) which can be turned into a correct value for the producer to produce a nil payload with the given key.