Kafka gateway: DescribeLogDirs and a read-only __consumer_offsets

Open
#4,524 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
22/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

The issue names no Iggy source files, so begin with the Kafka-protocol request handling for API key 35 (DescribeLogDirs) and find where partition sizes are available in Iggy. Use the linked kminion and Burrow client code to see which request versions and responses they send. Done means kminion reports kminion_exporter_up 1 with topic sizes; the consumer-offsets item needs a design decision on the internal record format first.

Written by the indexing model from the issue text.

Description

gateways

Summary

DescribeLogDirs (35) is not served, and there is no __consumer_offsets topic.

Who hits it:

  • kminion collects log dirs by default, and the failure sets kminion_exporter_up to 0 on every scrape. UIs show no topic sizes.
  • Burrow reads lag from __consumer_offsets, so it exits at startup. The offsetsTopic mode of kminion reads it too.

Scope

  • DescribeLogDirs v1-5 from the partition sizes in Iggy
  • On request from Burrow users: a read-only __consumer_offsets that carries commits in Kafka's internal record format

Acceptance criteria

  • kminion reports kminion_exporter_up 1, and topic sizes
  • With the second item done, Burrow starts and reports lag

References

Dominant language
Rust
Stars
5.3k
Forks
548
Avg merge
2d 20h
Merged PRs (30d)
194

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/iggy

All issues in apache/iggy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.