Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2387 Improve KafkaConsumer API
  3. KAFKA-2409

Have KafkaConsumer.committed() return null when there is no committed offset

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              hachikuji Jason Gustafson
              Reporter:
              hachikuji Jason Gustafson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: