Technoboy- commented on issue #20076: URL: https://github.com/apache/pulsar/issues/20076#issuecomment-1506204558
> > > `msgNumInReceiverQueue ` returns the actual number of messages that are blocking > > > > > > I don't think so. When a message arrives to message listener, it's not in the queue. It's users responsibility to track the stats. > > The user is unable to track these messages as they are still stored in the queue of the `externalPinnedExecutor` thread pool, and the user has no way of knowing how many messages are yet to be consumed. > > This means moving the data from the `incomingMessages` queue to the `externalPinnedExecutor` queue. yes, right. Users need to monitor the `externalPinnedExecutor` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
