You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Benoit Delbosc (Jira)" <ji...@apache.org> on 2020/05/28 07:05: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=17118385#comment-17118385 ] 

Benoit Delbosc commented on KAFKA-7791:
---------------------------------------

Hi,

With Kafka 2.1.1, under load I have errors like:
{code:java}
ERROR [Consumer clientId=***, groupId=***] Offset commit failed on partition ***-3 at offset 276582: The request timed out. {code}
These errors are not propagated to the {{KafkaConsumer#commitSync}} because it is an internal timeout (5s AFAIU) and retries are done until {{default.api.timeout.ms}}.

It looks like the problem is fixed in by
[https://github.com/apache/kafka/commit/f6c59df07ed865a8bdc777db73216347f4882114]

Can the ticket be marked as resolved for 2.5.0?

Regards

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