Hi Dinesh Just wanna check if the metrics you called is "RemoteTimeMs" or not?
if so, The meaning of "RemoteTimeMs" is the time the request is waiting on a remote client for produce. A high value can imply a slow network connection. that explanation come from "Optimizing Your Apache KafkaTM Deployment" which can be download at https://www.confluent.io/white-paper/optimizing-your-apache-kafka-deployment/ so i think you need focus on your network to see if it's a bottleneck. Hope that helps. Best, Lisheng Dinesh Kumar <devdinu...@gmail.com> 于2019年8月22日周四 下午1:18写道: > Hi, > > We've a kafka (version 2.0.0) cluster with multiple brokers, and many > producers with ack=all, or could be ack=1 (which we don't control), There's > increase in produce time from 10ms to ~150ms. > > With JMX metrics able to see "remote" is taking more time, which i figured > are followers. > > 1. Is there any configuration we could tweak to reduce the produce time > 2. What's the next step to say debug why remote produce time is high. > > > Thanks, > Dinesh Kumar >