Skip to content

Consumer group reassignment of offset not working #59

@SrikarSaggurthi

Description

@SrikarSaggurthi

Describe the bug
For an existing consumer group with stored offsets, resetting the offset to the latest is not working, it still reads from the stored offset.

To Reproduce

  1. First, have to set up a consumer group (say test) and run for a few messages and commit those offsets. .kfk.Sub[client;topicName;(enlist 6h$1)!(enlist .kfk.OFFSET.STORED)];

  2. Now restart the process and assign a specific partition and latest offset with same group test .kfk.Sub[client;topicName;(enlist 6h$1)!(enlist .kfk.OFFSET.END)];`

Expected behavior
It should only start reading if there are new messages in `topicName, however it starts reading from the last committed offset.

Desktop (please complete the following information):

  • OS: linux 2.6
  • KDB+ banner information KDB+ 3.6 2019.09.19
  • .kfk.Version : 16842992i

Additional context
relevant config parmater "auto.offset.reset:latest"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions