Skip to content

Commit

Permalink
Merge pull request #63 from shyam334/fix/KafkaKeying
Browse files Browse the repository at this point in the history
Fix cli param default value - kafka.key
  • Loading branch information
lspgn authored Mar 5, 2020
2 parents ef5ec28 + 8067f51 commit c970b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func RegisterFlags() {
KafkaLogErrors = flag.Bool("kafka.log.err", false, "Log Kafka errors")

KafkaHashing = flag.Bool("kafka.hashing", false, "Enable partitioning by hash instead of random")
KafkaKeying = flag.String("kafka.key", "SamplerAddr,DstAS", "Kafka list of fields to do hashing on (partition) separated by commas")
KafkaKeying = flag.String("kafka.key", "SamplerAddress,DstAS", "Kafka list of fields to do hashing on (partition) separated by commas")
KafkaVersion = flag.String("kafka.version", "0.11.0.0", "Log message version (must be a version that parses per sarama.ParseKafkaVersion)")
}

Expand Down

0 comments on commit c970b07

Please sign in to comment.