[ 
https://issues.apache.org/jira/browse/KAFKA-8889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926339#comment-16926339
 ] 

ASF GitHub Bot commented on KAFKA-8889:
---------------------------------------

guozhangwang commented on pull request #7317: KAFKA-8889: Log errors properly
URL: https://github.com/apache/kafka/pull/7317
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Root cause is lost for FetchSessionHandler.handleError
> ------------------------------------------------------
>
>                 Key: KAFKA-8889
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8889
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Qinghui Xu
>            Priority: Minor
>
> FetchSessionHandler is not logging properly the errors, and produces error 
> messages sometimes hard to understand the root cause.
> More precisely, FetchSessionHandler.handleError prints Throwable.toString, 
> which is merely a summary message, and loses the stacktrace of the error. For 
> example, we can get some messages, but cannot get a clue about why:
> {code:java}
> Error sending fetch request (sessionId=1655236778, epoch=99) to node 01: 
> org.apache.kafka.common.errors.DisconnectException {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to