flipp-oss / deimos

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

Better way to handle deletes in `generate_payload` #39

Closed dorner closed 4 years ago

dorner commented 4 years ago

Currently generate_payload is called even for deletion events via KafkaSource. This forces implementing code to check to see if the only key is the payload key and return otherwise. We should intentionally not call generate_payload on deletion events.