Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4403

Update KafkaBasedLog to use new endOffsets consumer API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.2.0
    • connect

    Description

      As of 0.10.1.0 and KIP-79 (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65868090) KafkaConsumer can now fetch offset information about topic partitions. Previously KafkaBasedLog had to use a seekToEnd + position approach to determine end offsets. With the new APIs we can simplify this code.

      This isn't critical as the current code works fine, but would be a nice cleanup and simplification.

      Attachments

        Issue Links

          Activity

            People

              baluchicken Balint Molnar
              ewencp Ewen Cheslack-Postava
              Ewen Cheslack-Postava Ewen Cheslack-Postava
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: