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

   This PR improves the logging behavior in AbstractHeartbeatRequestManager 
when the heartbeat
   response is null due to an exception.
   
   Currently, TimeoutException / DisconnectException are logged at ERROR level 
with full stacktrace,
   even though these are normal operational conditions (e.g., broker down, 
network turbulence).
   
   The classic KafkaConsumer logs such cases at WARN, and the Jira ticket 
KAFKA-19891  confirms that
   the async consumer should behave consistently.
   
   This PR:
   * Logs TimeoutException and DisconnectException at WARN (without stacktrace)
   * Logs all other exceptions at ERROR (with stacktrace)
   
   No functional behaviour has been changed.


-- 
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]

Reply via email to