sijie opened a new issue #6046: [Broker] Expose lastConsumedTimestamp and 
lastAckedTimestamp to subscription stats
URL: https://github.com/apache/pulsar/issues/6046
 
 
   *Motivation*
   
   Currently, `msgBacklog` measures the number of messages that a subscription 
has not consumed and it is an *estimated* value. It is hard to tell the 
difference between a backlog estimate being wrong and messages being otherwise 
stuck. It would be great to expose `lastConsumedTimestamp` and 
`lastAckedTimestamp` to measure the activities of dispatch and acknowledge. So 
people can use these timestamps to tell if acknowledge and consumption are 
happening.
   
   These two metrics provide a `lag` metric similar to Kafka.
   
   Related Tasks: #5721

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to