Skip to content

Spread messages across all partitions#3

Open
moilanen wants to merge 2 commits into
salebab:masterfrom
moilanen:master
Open

Spread messages across all partitions#3
moilanen wants to merge 2 commits into
salebab:masterfrom
moilanen:master

Conversation

@moilanen

Copy link
Copy Markdown

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.

…tiple partitions and need to spread them across all partitions for best performance
…ble situations like a broker in a pool not being able to be connected to. Calling kafka_stop() causes memory to be freed downstream which then causes segfaults
EVODelavega referenced this pull request in EVODelavega/phpkafka Jun 24, 2015
* commit '9ae449d3be8298b5ef2312383c70c4a4eb47c5aa':
  Add test script + recompile script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant