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

Change subscribe_messages to yield individual messages by default #41

Open
agrare opened this issue Mar 27, 2019 · 1 comment
Open

Change subscribe_messages to yield individual messages by default #41

agrare opened this issue Mar 27, 2019 · 1 comment

Comments

@agrare
Copy link
Member

agrare commented Mar 27, 2019

Currently subscribe_messages yields the entire batch of messages, this can be useful if you intend to process the entire block of messages but it isn't helpful if you want to process one message at a time.

Specifically acking messages can only be done after the entire block of messages has been processes, rather than after each message.

@bzwei
Copy link
Contributor

bzwei commented Mar 28, 2019

We can add a new method for single message subscription while leaving the existing batch subscription untouched.
Not all message clients support single message subscription. My understanding QPID for ActiveMQ does not. We don't have AMQP implementation yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants