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

Are multiple consumers supported? #15

Closed
gouthamve opened this issue Oct 22, 2015 · 3 comments
Closed

Are multiple consumers supported? #15

gouthamve opened this issue Oct 22, 2015 · 3 comments

Comments

@gouthamve
Copy link

Hi, I am very new to queues and am going to use siberite for a project. While now one consumer will be sufficient, there might be need to add multiple consumers.

Your TODO has: Add multiple consumers get queue_name:consumer_name/open

Does this mean now only one consumer is supported? If I connect two consumers what is going to happen.

@bogdanovich
Copy link
Owner

Multiple consumer groups are not supported yet. That means you can't read one queue many times starting from the head again and again. But of course you can have many clients reading from one queue.

@gouthamve
Copy link
Author

Thanks!! Started using it :) Like it so far

Also is there anyway I can see the number of messages in the queue?

@bogdanovich
Copy link
Owner

You can use stats command.
STAT queue_<queue_name>_items 55614776 - shows the number of items

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

2 participants