Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1000 Inbuilt consumer offset management feature for kakfa
  3. KAFKA-1012

Implement an Offset Manager and hook offset requests to it

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.2.0
    • consumer
    • None

    Description

      After KAFKA-657, we have a protocol for consumers to commit and fetch offsets from brokers. Currently, consumers are not using this API and directly talking with Zookeeper.

      This Jira will involve following:
      1. Add a special topic in kafka for storing offsets
      2. Add an OffsetManager interface which would handle storing, accessing, loading and maintaining consumer offsets
      3. Implement offset managers for both of these 2 choices : existing ZK based storage or inbuilt storage for offsets.
      4. Leader brokers would now maintain an additional hash table of offsets for the group-topic-partitions that they lead
      5. Consumers should now use the OffsetCommit and OffsetFetch API

      Attachments

        1. KAFKA-1012.patch
          53 kB
          Tejas Patil
        2. KAFKA-1012-v2.patch
          59 kB
          Tejas Patil

        Activity

          People

            tejasp Tejas Patil
            tejasp Tejas Patil
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: