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

introduce qos per channel #6

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

Conversation

Rudy-Zidan
Copy link
Owner

Add QOS per channel, it will improve consumers manual acknowledge of the messages.

@Rudy-Zidan Rudy-Zidan added the enhancement New feature or request label Dec 31, 2020
@Rudy-Zidan Rudy-Zidan linked an issue Dec 31, 2020 that may be closed by this pull request
examples/normal_job.rb Outdated Show resolved Hide resolved
lib/jobi/job.rb Outdated Show resolved Hide resolved
lib/jobi/job.rb Outdated Show resolved Hide resolved
end

def default_exchange
@default_exchange ||= channel.default_exchange
end

def queue(name:, options: {})
default_exchange
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does this actually work? is the default exchange used by default?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default exchange used to bind the queue with the channel. I forget to remove it before.

lib/jobi/job.rb Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Rabbitmq] Support Channel QOS
2 participants