We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Classic subscriber has a way to define max_msgs variable, which is responsible for maximum messages a subscriber can process.
https://github.com/nats-io/nats.py/blob/main/nats/aio/client.py#L728
However JS has no way to supply that variable https://github.com/nats-io/nats.py/blob/main/nats/js/client.py#L288
Am I missing something? How can I create a Jetstream client which would be able to process only limited number of messages and then die?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Classic subscriber has a way to define max_msgs variable, which is responsible for maximum messages a subscriber can process.
https://github.com/nats-io/nats.py/blob/main/nats/aio/client.py#L728
However JS has no way to supply that variable https://github.com/nats-io/nats.py/blob/main/nats/js/client.py#L288
Am I missing something? How can I create a Jetstream client which would be able to process only limited number of messages and then die?
The text was updated successfully, but these errors were encountered: