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

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

Ted Yu created KAFKA-9465:
-----------------------------

             Summary: 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


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)