CONSUMER.LIST
API doesn't return correct total size
#4425
Labels
defect
Suspected defect such as a bug or regression
CONSUMER.LIST
API doesn't return correct total size
#4425
What version were you using?
Server info: (returned by
nats server info
)Client (nats-cli) info:
What environment was the server running in?
Kubernetes (GKE version
1.24.14-gke.2700
)Is this defect reproducible?
Yes. To reproduce:
test-stream.json:
$JS.API.CONSUMER.LIST.fantest-stream-3
. It says total is 256.nats consumer ls fantest-stream-3
can list all the 260 consumers.Given the capability you are leveraging, describe your expectation?
nats request '$JS.API.CONSUMER.LIST.fantest-stream-3' ''
should return the correct total size.Given the expectation, what is the defect you are observing?
The API returning incorrect total size causes our code (which uses the go and python libs) to not get the full list of consumers.
The text was updated successfully, but these errors were encountered: