Hello, I discovered a bug in the design of this metric. The bug is documented here: https://github.com/apache/kafka/pull/11805. We need to include time the producer spends waiting on topic metadata into the total blocked time. But to do this we would need to add a new producer metric that tracks the total time spent blocked on metadata. I've implemented this in a patch here: https://github.com/apache/kafka/pull/11805
I'm hoping I can just update this KIP to include the new producer metric. On Tue, Aug 31, 2021 at 1:07 AM Rohan Desai <desai.p.ro...@gmail.com> wrote: > FYI I've updated the metric names in the KIP to the form > ".*-time-ns-total" and clarified that the times being measured are in > nanoseconds. > > On Wed, Jul 21, 2021 at 5:09 PM Rohan Desai <desai.p.ro...@gmail.com> > wrote: > >> Now that the discussion thread's been open for a few days, I'm calling >> for a vote on >> >> https://cwiki.apache.org/confluence/display/KAFKA/KIP-761%3A+Add+Total+Blocked+Time+Metric+to+Streams >> >