salebab / phpkafka

PHP extension for Apache Kafka
MIT License
17 stars 66 forks source link

Spread messages across all partitions #3

Open moilanen opened 10 years ago

moilanen commented 10 years ago

Most kafka instances in production have multiple partitions. For best performance the messages should be spread across all partitions.

Use rdkafka's option for automatic partitioning using the topic's partitioner function.