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

Consumers info offset #459

Merged
merged 2 commits into from
Jun 22, 2023
Merged

Conversation

raprek
Copy link
Contributor

@raprek raprek commented Jun 15, 2023

ISSUE

Current js.consumers_info() method is able to return only 256 consumers.

SOLUTION

Nats server has method jsConsumerListRequest, according code the final consumer list restricted by JSApiListLimit code, JSApiListLimit.
However, it is possible to use offset param in body of CONSUMER.LIST, so that obtain all info manually by js.consumers_info(stream, offset)

@raprek raprek changed the title -> add | offset for js.consumers_info Consumers info offset Jun 15, 2023
Copy link
Member

@wallyqs wallyqs left a comment

Choose a reason for hiding this comment

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

LGTM

@wallyqs wallyqs merged commit bb6b7cf into nats-io:main Jun 22, 2023
1 check failed
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

Successfully merging this pull request may close these issues.

None yet

2 participants