Skip to content

API to query logical offset #503

@fsaintjacques

Description

@fsaintjacques

It would be great to query for (beginning, end) offsets for given [(topic, partitions)] in a semi atomic way. The use case would be to extend kafkacat metadata query to also report on the offset intervals, e.g.

$ kafkacat -L -b mybroker
Metadata for all topics (from broker 1: mybroker:9092/1):
...
  topic "syslog" with 3 partitions:
    partition 0, leader 3, replicas: 1,2,3, isrs: 1,2,3, offsets: (beginning: 0, end: 4595)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions