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

producer: Data race on configuration #34

Closed agis closed 7 years ago

agis commented 7 years ago

The producer implementation has a data race because the config is reused across producers. This results in a panic.

As we do in Consumers, we should not re-use the configuration between producers.