Skip to content

Kafka gateway: Kafka Metadata API (key 3) — broker and topic discovery via Iggy #3534

Closed

Description

@ryerraguntla

Part of #3560.

Summary

Implement Kafka Metadata (API key 3) responses backed by Iggy stream/topic metadata instead of stub values.

Motivation

Kafka clients bootstrap via Metadata before Produce/Fetch. Required for kcat -L, Java clients, and console tools.

Depends on

Scope

  • Handler for Metadata v0–v12 (per scoped version firewall in gateway)
  • Return bridge broker id/host/port (advertised listener config)
  • List topics from Iggy (or configured allowlist)
  • Per-topic partition count aligned with Iggy topic partitions
  • Golden-wire or integration tests for at least v0 and flexible (v9+) encodings

Acceptance criteria

  • kcat -b localhost:9093 -L lists broker and topics without error
  • ApiVersions + Metadata handshake succeeds on same TCP connection

References

Activity

  1. added
    gatewaysproxy gateways for other protocols like kafka
    on Jun 23, 2026
  2. changed the title [-]feat(gateways): Kafka Metadata API (key 3) — broker and topic discovery via Iggy[/-] [+]Kafka gateway: Kafka Metadata API (key 3) — broker and topic discovery via Iggy[/+] on Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

gatewaysproxy gateways for other protocols like kafka

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions