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

Allow OffsetFetchRequest to initialize offsets

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.8.1
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      It would be nice for the OffsetFetchRequest API to have the option to initialize offsets instead of returning unknown_topic_or_partition. It could mimic the Offsets API by adding the "time" field and then follow the same code path on the server as the Offset API.

      In this case, the response would need to a boolean to indicate if the returned offset was initialized or fetched from ZK.

      This would simplify the client logic when dealing with new topics.

        Activity

        Hide
        guozhang Guozhang Wang added a comment -

        Moving to 0.9 now.

        Show
        guozhang Guozhang Wang added a comment - Moving to 0.9 now.
        Hide
        mgharat Mayuresh Gharat added a comment -

        Hi Balaji Seshadri,

        I am trying to understand what do you mean by "It could mimic the Offsets API by adding the "time" field and then follow the same code path on the server as the Offset API. "

        Can you give a brief workflow?

        Show
        mgharat Mayuresh Gharat added a comment - Hi Balaji Seshadri, I am trying to understand what do you mean by "It could mimic the Offsets API by adding the "time" field and then follow the same code path on the server as the Offset API. " Can you give a brief workflow?
        Hide
        techybalaji Balaji Seshadri added a comment -

        Mayuresh Gharat i need to analyze more before i answer your question,i just now took this JIRA.

        Show
        techybalaji Balaji Seshadri added a comment - Mayuresh Gharat i need to analyze more before i answer your question,i just now took this JIRA.
        Hide
        ewencp Ewen Cheslack-Postava added a comment -

        This looks like it refers to the old APIs and has been bumped through a ton of versions across the years. Any objections to closing as WONTFIX since we're not really adding features to the old clients anymore?

        Show
        ewencp Ewen Cheslack-Postava added a comment - This looks like it refers to the old APIs and has been bumped through a ton of versions across the years. Any objections to closing as WONTFIX since we're not really adding features to the old clients anymore?
        Hide
        omkreddy Manikumar added a comment -

        Closing inactive issue as per above comment.

        Show
        omkreddy Manikumar added a comment - Closing inactive issue as per above comment.

          People

          • Assignee:
            techybalaji Balaji Seshadri
            Reporter:
            mumrah David Arthur
          • Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development