flipp-oss / deimos

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

Add DDL for configuration #18

Closed dorner closed 4 years ago

dorner commented 4 years ago

Currently configuration is split up between the producer/consumer class, a configure app-wide block, and phobos.yml. We should strike our own way for this and add a DDL similar to Rails routes where we can specify overall configuration and producer/consumer configs in a single place.

Truth is, even if we can combine the configure block and the .yml file together that would be a win. I'm not 100% sure if the producer/consumer config should live with the individual class or centralized.