siddharthaDevineni opened a new pull request, #19456:
URL: https://github.com/apache/kafka/pull/19456

   We experienced an outage in our application due to a built up Kafka lag, 
which we eventually discovered to be the problem with Kafka Clients being 
throttled.
   
   Even when using the confluent cluster, the dashboard does point to exceeding 
the quota of the principal.
   
   It will be nice, if the log message on the client side is a WARNING. This 
helps those who don't have visibility to cluster, and just look at the problem 
from the client side, setup alerts etc. (instead of enabling TRACE to figure 
out where the problem is) 
   
   NetworkClient#maybeThrottle in the class NetworkClient:
   
   Changed from:
    `log.trace("Connection to node {} is throttled for {} ms until timestamp 
{}", nodeId, throttleTimeMs, now + throttleTimeMs); ` 
    
    to
    
    `log.warn("Connection to node {} is throttled for {} ms until timestamp 
{}", nodeId, throttleTimeMs, now + throttleTimeMs);`


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to