You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shared mode consumer priority, the messages will only goes to the consumers with higher priority if there's permit, otherwise the message can also be pushed to the consumers with lower priority.
[merlimat]
Good idea. This should be relatively easy to implement.
can you describe your usecase where this feature can be helpful?
and in that usecase: what could be the variables based on which user assign priority level of each consumer? Is it based on machine's capacity or configuration?
the consumer may be assigned different priority based on the machine's capacity or location(e.g. rack or idc).
we would like the consumers in the master application cluster to consume the whole message as most as possible, if the master application cluster crash totally, the consumers in the other cluster can continue to consume the messages, but with different costing.
Activity
rdhabalia commentedon Dec 2, 2016
DongbinNie commentedon Dec 2, 2016
the consumer may be assigned different priority based on the machine's capacity or location(e.g. rack or idc).
we would like the consumers in the master application cluster to consume the whole message as most as possible, if the master application cluster crash totally, the consumers in the other cluster can continue to consume the messages, but with different costing.
merlimat commentedon Dec 3, 2016
That was what I had in mind as well.
My other question would be: would anyone need in practice more that 2 priorities (
HighandLow)?[-][Feature Proposal] Shared mode consumer priority[/-][+]Shared mode consumer priority[/+]DongbinNie commentedon Dec 3, 2016
Currently we only require 2 priorities in the applications, but I think it's better to have the ability to have multiple priorities.
Exit go routine when signal is caught. (apache#134)
Issue 134: produce optimize (apache#150)
[feat] Add consumer PriorityLevel support
[feat] Add consumer PriorityLevel support