flipp-oss / deimos

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

Change InlineConsumer to use fetch_messages #12

Closed dorner closed 3 months ago

dorner commented 5 years ago

Currently we have a rather complex process to consume messages dynamically via the InlineConsumer. I recently discovered that the Kafka client can fetch messages directly via the fetch_messages API call. This can hugely simplify the implementation and also make it way faster (it can take several seconds right now because it actually starts and stops a consumer).

dorner commented 3 months ago

Removing InlineConsumer in v2.