Jason Gustafson created KAFKA-2409: -------------------------------------- Summary: 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: Improvement Reporter: Jason Gustafson Priority: Minor
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)