You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "zhongyushuo (Jira)" <ji...@apache.org> on 2020/02/06 16:38:00 UTC

[jira] [Commented] (KAFKA-7791) Not log retriable exceptions as errors

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

zhongyushuo commented on KAFKA-7791:
------------------------------------

Hi, [~t3hnar] thanks for your report. I get commit offset timed out error log in 1.1.0 version. As commit offset timed may cause consuming duplicate messages. Should this log be error level?

> Not log retriable exceptions as errors
> --------------------------------------
>
>                 Key: KAFKA-7791
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7791
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 2.1.0
>            Reporter: Yaroslav Klymko
>            Priority: Minor
>
> Background: I've spotted tons of kafka related errors in logs, after investigation I found out that those are harmless as being retried.
> Hence I propose to not log retriable exceptions as errors.
> Examples of what I've see in logs:
>  * Offset commit failed on partition .. at offset ..: The request timed out.
>  * Offset commit failed on partition .. at offset ..: The coordinator is loading and hence can't process requests.
>  * Offset commit failed on partition .. at offset ..: This is not the correct coordinator.
>  * Offset commit failed on partition .. at offset ..: This server does not host this topic-partition.
>  
> Here is attempt to fix this: https://github.com/apache/kafka/pull/5904



--
This message was sent by Atlassian Jira
(v8.3.4#803005)