You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2015/09/25 17:56:05 UTC

[jira] [Assigned] (KAFKA-2409) Have KafkaConsumer.committed() return null when there is no committed offset

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

Jason Gustafson reassigned KAFKA-2409:
--------------------------------------

    Assignee: Jason Gustafson  (was: Sreepathi Prasanna)

> Have KafkaConsumer.committed() return null when there is no committed offset
> ----------------------------------------------------------------------------
>
>                 Key: KAFKA-2409
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2409
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.9.0.0
>
>
> Currently checking whether an offset has been committed requires catching NoOffsetForPartitionException. Since this is likely a fairly common case, it is more convenient for users just to return null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)