Skip to content
Permalink
Browse files

tools/kafka_repeater: Send messages to multiple partitions

  • Loading branch information...
SwimmingTiger committed Aug 1, 2019
1 parent fe7f774 commit 77f77d19ca9a3023ca5ce9e7bb0751fdaf42b023
Showing with 3 additions and 1 deletion.
  1. +3 −1 tools/kafka_repeater/KafkaRepeater.hpp
@@ -57,7 +57,9 @@ class KafkaRepeater {
, produceBrokers_(produceBrokers)
, produceTopic_(produceTopic)
, producer_(
produceBrokers_.c_str(), produceTopic_.c_str(), 0 /* patition */) {}
produceBrokers_.c_str(),
produceTopic_.c_str(),
RD_KAFKA_PARTITION_UA) {}

static inline void loadOption(
const libconfig::Setting &cfg,

0 comments on commit 77f77d1

Please sign in to comment.
You can’t perform that action at this time.