Skip to content

Shared mode consumer priority #134

Closed

Description

@DongbinNie

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.

[DongbinNie]
:-)

Activity

  1. rdhabalia commented on Dec 2, 2016

    @rdhabalia
    Contributor
    • 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?
  2. DongbinNie commented on Dec 2, 2016

    @DongbinNie
    Author

    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.

  3. merlimat commented on Dec 3, 2016

    @merlimat
    Contributor

    That was what I had in mind as well.

    My other question would be: would anyone need in practice more that 2 priorities (High and Low)?

  4. added
    type/feature
    on Dec 3, 2016
  5. changed the title [-][Feature Proposal] Shared mode consumer priority[/-] [+]Shared mode consumer priority[/+] on Dec 3, 2016
  6. DongbinNie commented on Dec 3, 2016

    @DongbinNie
    Author

    would anyone need in practice more that 2 priorities (High and Low)?

    Currently we only require 2 priorities in the applications, but I think it's better to have the ability to have multiple priorities.

  7. added this to the 1.17 milestone on Feb 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions