skroutz / rafka

Kafka proxy with a simple API, speaking the Redis protocol
https://engineering.skroutz.gr/blog/kafka-rails-integration/
GNU General Public License v3.0
8 stars 0 forks source link

Add support for message keys in the producer #50

Closed charkost closed 7 years ago

charkost commented 7 years ago

Two or more messages with the same key will always be assigned to the same kafka partition.

This feature will enable us to guarantee a consistent message consumption order.

agis commented 7 years ago

LGTM!

Note: rafka-rb also has to be upgraded in Gemfile.lock when https://github.com/skroutz/rafka-rb/pull/6 is merged.

charkost commented 7 years ago

Updated Gemfile.lock using the latest rafka-rb.