flipp-oss / deimos

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

Fail explicitly when no topic given #50

Closed dorner closed 3 years ago

dorner commented 4 years ago

Currently, if a producer is configured to have a blank topic (e.g. an environment variable that has no value), Deimos doesn't error out until it actually tries to produce to the topic. RubyKafka also doesn't error out, it just says "can't assign partitions". This is super confusing. Deimos should fail immediately when it tries to produce and no topic is configured.

cc: @kentkhlui