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

Single fixed routing key value prevents some RabbitMQ plugins from doing their job #38

Open
michaelklishin opened this issue Nov 24, 2020 · 0 comments

Comments

@michaelklishin
Copy link
Contributor

This output can only publish using a single pre-configured routing key value; some RabbitMQ plugins highly relevant for the users of this output, e.g. rabbitmq_sharding and rabbitmq_consistent_hash_exchange which allow for workload parallelization beyond a single queue, assume that routing keys are used for message stream "sharding" (distribution).
If all routing keys are identical, all messages will end up on a single shard.

It would be very nice to have a way to tell the plugin to use random values instead of a hardcoded routing key, possibly produced by a user-provided Proc (lambda, anonymous function, etc).

@michaelklishin michaelklishin changed the title Highly opinionated assumptions about routing keys Single fixed routing key value prevents some RabbitMQ plugins from doing their job Nov 24, 2020
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

No branches or pull requests

1 participant