Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spread messages across all partitions #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

moilanen
Copy link

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