Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.2.0
    • Component/s: consumer
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: