You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2020/05/14 00:32:00 UTC

[jira] [Resolved] (KAFKA-9465) Enclose consumer call with catching InvalidOffsetException

     [ https://issues.apache.org/jira/browse/KAFKA-9465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias J. Sax resolved KAFKA-9465.
------------------------------------
    Resolution: Not A Problem

This was fixed implicitly via some code refactoring.

> Enclose consumer call with catching InvalidOffsetException
> ----------------------------------------------------------
>
>                 Key: KAFKA-9465
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9465
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>
> In maybeUpdateStandbyTasks, the try block encloses restoreConsumer.poll and record handling.
> Since InvalidOffsetException is thrown by restoreConsumer.poll, we should enclose this call in the try block.



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