codelipenghui commented on issue #8573:
URL: https://github.com/apache/pulsar/issues/8573#issuecomment-727830521


   Thanks, @xuesongxs made this feature request. I also met some users who want 
to know how many messages are expired at what time? Currently, these metrics 
are too few, so that TTL looks like a black box, unobservable. 
   
   I think we can do the following things to improve the observability.
   
   1. Expose the last TTL task execute timestamp
   2. Recore the total expired message
   
   Furthermore, I think it's better to support write the expired messages to a 
specific topic so that users can get all expired messages. Or a server-side 
plugin to receive the message expired listener.


----------------------------------------------------------------
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:
[email protected]


Reply via email to