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

[jira] [Assigned] (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 reassigned KAFKA-9465:
--------------------------------------

    Assignee: Ted Yu

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