Hi Chia-Ping, Thanks for the feedback. I updated the motivation to explain what callers can see in the DeleteRecords response and added the DelayedProduce metric as an example.
I also checked ReplicaManager. It removes the DelayedProduce partition metric when the broker goes from leader to follower or stops the partition. The KIP proposes the same cleanup points for DelayedDeleteRecords. Thanks, Doyeon On Sat, Nov 28, 2026 at 5:03 AM Chia-Ping Tsai via dev <[email protected]> wrote: > Hi Doyeon > > Could you enhance the motivation? For example, we can observe the > partition-level error from the response, but we can't do that from metrics. > Also, the delayed produce has partition-level metrics, but the delayed > deletion doesn't. > > BTW, would you mind checking if the partition-level metrics of delayed > produce get cleaned up? If not, it would be a discussion point whether the > new metrics should follow that pattern. > > Best, > Chia-Ping > > On 2026-11-24 17:56 UTC Doyeon Kim wrote: > > Hi all, > > > > I'd like to open a discussion on KIP-1405, which adds a partition-level > > metric for DeleteRecords timeouts. The current metric is broker-wide, > > so it's hard to tell which partitions are timing out. > > > > > https://cwiki.apache.org/confluence/spaces/KAFKA/pages/467436044/KIP-1405+Add+partition-level+DeleteRecords+timeout+metrics > > > > I'd appreciate any feedback. > > > > Thanks, > > Doyeon Kim > > >
