Skip to content

Kafka gateway: Kafka CreateTopics API (key 19) — Iggy stream/topic provisioning #3538

Closed

Description

@ryerraguntla

Part of #3560.

Summary

Implement Kafka CreateTopics (API key 19) admin handler that creates Iggy streams and topics.

Motivation

Allows kafka-topics.sh --create and auto-topic creation from producers against the gateway.

Depends on

Scope

  • Decode CreateTopics request (scoped versions v2–v7)
  • Map num_partitions, replication_factor (document: RF=1 or ignored; Iggy replication model)
  • Create Iggy stream/topic via SDK; idempotent if exists
  • Per-topic error in response (TOPIC_ALREADY_EXISTS, etc.)
  • Config validation: reject unsupported Kafka topic configs with documented limits

Acceptance criteria

  • kafka-topics.sh --create --topic test --bootstrap-server localhost:9093 succeeds
  • Created topic appears in Metadata and accepts Produce

References

Activity

  1. added
    gatewaysproxy gateways for other protocols like kafka
    on Jun 23, 2026
  2. changed the title [-]feat(gateways): Kafka CreateTopics API (key 19) — Iggy stream/topic provisioning[/-] [+]Kafka gateway: Kafka CreateTopics API (key 19) — Iggy stream/topic provisioning[/+] 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