frankjkelly opened a new issue #12426: URL: https://github.com/apache/pulsar/issues/12426
**Is your enhancement request related to a problem? Please describe.** The default producer stats update period is 60 seconds https://github.com/apache/pulsar/blob/7bf14b5ac049d71c7ff74bbe758cb41aaffeb0af/pulsar-client-1x-base/pulsar-client-1x/src/main/java/org/apache/pulsar/client/api/ClientConfiguration.java#L281-L288 if you have a short-lived producer (lasts less than 60 seconds) then the quantile latencies will not get updated and you will see `0` values for the latencies https://github.com/apache/pulsar/blob/1eb08f3136dbe96e473b63038da9337043be7a0d/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerStatsRecorderImpl.java#L128-L131 **Describe the solution you'd like** It would be nice on Producer `flush()` or `close()` to capture the complete final state of the statistics (including the latencies) **Describe alternatives you've considered** Not aware of alternatives but perhaps others are -- 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]
