分区 topic

统计信息Description
msgRateInThe sum of all local and replication publishers’ publish rates in messages per second
msgThroughputInSame as msgRateIn but in bytes per second instead of messages per second
msgRateOutThe sum of all local and replication consumers’ dispatch rates in messages per second
msgThroughputOutSame as msgRateOut but in bytes per second instead of messages per second
averageMsgSizeAverage message size, in bytes, from this publisher within the last interval
storageSizeThe sum of the ledgers’ storage size for this topic
publishersThe list of all local publishers into the topic. There can be anywhere from zero to thousands.
producerIdInternal identifier for this producer on this topic
producerNameInternal identifier for this producer, generated by the client library
addressIP address and source port for the connection of this producer
connectedSinceTimestamp this producer was created or last reconnected
subscriptionsThe list of all local subscriptions to the topic
my-subscriptionThe name of this subscription (client defined)
msgBacklogThe count of messages in backlog for this subscription
typeThis subscription type
msgRateExpiredThe rate at which messages were discarded instead of dispatched from this subscription due to TTL
consumersThe list of connected consumers for this subscription
consumerNameInternal identifier for this consumer, generated by the client library
availablePermitsThe 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. 非零值意味着 consumer 可以接收消息。
replicationThis section gives the stats for cross-colo replication of this topic
replicationBacklogThe outbound replication backlog in messages
connectedWhether the outbound replicator is connected
replicationDelayInSecondsHow long the oldest message has been waiting to be sent through the connection, if connected is true
inboundConnectionThe IP and port of the broker in the remote cluster’s publisher connection to this broker
inboundConnectedSinceThe TCP connection being used to publish messages to the remote cluster. If there are no local publishers connected, this connection is automatically closed after a minute.

Topic

统计信息Description
entriesAddedCounterMessages published since this broker loaded this topic
numberOfEntriesTotal number of messages being tracked
totalSizeTotal storage size in bytes of all messages
currentLedgerEntriesCount of messages written to the ledger currently open for writing
currentLedgerSizeSize in bytes of messages written to ledger currently open for writing
lastLedgerCreatedTimestampTime when last ledger was created
lastLedgerCreationFailureTimestamptime when last ledger was failed
waitingCursorsCountHow many cursors are caught up and waiting for a new message to be published
pendingAddEntriesCountHow many messages have (asynchronous) write requests we are waiting on completion
lastConfirmedEntryThe ledgerid:entryid of the last message successfully written. If the entryid is -1, then the ledger has been opened or is currently being opened but has no entries written yet.
stateThe state of the cursor ledger. Open means we have a cursor ledger for saving updates of the markDeletePosition.
ledgersThe ordered list of all ledgers for this topic holding its messages
cursorsThe list of all cursors on this topic. There will be one for every subscription you saw in the topic stats.
markDeletePositionThe ack position: the last message the subscriber acknowledged receiving
readPositionThe latest position of subscriber for reading message
waitingReadOpThis is true when the subscription has read the latest message published to the topic and is waiting on new messages to be published.
pendingReadOpsThe counter for how many outstanding read requests to the BookKeepers we have in progress
messagesConsumedCounterNumber of messages this cursor has acked since this broker loaded this topic
cursorLedgerThe ledger being used to persistently store the current markDeletePosition
cursorLedgerLastEntryThe last entryid used to persistently store the current markDeletePosition
individuallyDeletedMessagesIf Acks are being done out of order, shows the ranges of messages Acked between the markDeletePosition and the read-position
lastLedgerSwitchTimestampThe last time the cursor ledger was rolled over