Skip to content

Commit

Permalink
Fixed admin-api-non-persistent-topics documentation (apache#3781)
Browse files Browse the repository at this point in the history
Fixes apache#3780


### Motivation

Update the documentation to more accurately reflect the condition of the queue when the availablePermits value is negative. The current documentation indicates that condition means the consumer is ready to receive more messages, when, in fact, it is NOT.

### Modifications

Updated the http://pulsar.apache.org/docs/en/admin-api-non-persistent-topics.html#get-stats page
  • Loading branch information
david-streamlio authored and sijie committed Mar 11, 2019
1 parent 7d97043 commit e283940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site2/docs/admin-api-non-persistent-topics.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ It shows current statistics of a given non-partitioned topic.

- **consumerName**: Internal identifier for this consumer, generated by the client library

- **availablePermits**: The number of messages this consumer has space for in the client library's listen queue. A value of 0 means the client library's queue is full and receive() isn't being called. A nonzero value means this consumer is ready to be dispatched messages.
- **availablePermits**: The number of messages this consumer has space for in the client library's listen queue. A value less than 1 means the client library's queue is full and receive() isn't being called. A non-negative value means this consumer is ready to be dispatched messages.

- **replication**: This section gives the stats for cross-colo replication of this topic

Expand Down

0 comments on commit e283940

Please sign in to comment.