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

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: