Geo topics: use geo topics and their shadows through the Kafka gateway
I maintainer di solito rispondono entro 2 giorni
@krishvishal ci sta già lavorando.
Dal 21/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary
A geo topic keeps one log for each datacenter. The other datacenters read that log from a read-only shadow topic. #4998 and #5012 carry the consumer positions between datacenters. Kafka clients cannot use any of this through the Kafka gateway yet. They cannot create a geo topic, produce to one, or see a shadow. Teams that run active-active on Kafka today come with Kafka clients, so they cannot move to geo topics. This issue lets Kafka clients use geo topics through the gateway.
Scope
- A Kafka client creates a geo topic with the topic config
iggy.topic.type=geoinCreateTopics. A topic without this config stays normal.DescribeConfigsshows the type of each topic, and an alter of the type is refused. - A Kafka producer writes to the geo topic of its own datacenter. The answer to
acks=1andacks=allcomes once the bucket holds the batch, as for an Iggy producer. Idempotent producers work as on a normal topic. - The gateway lists the shadow of a geo topic from another datacenter. Its Kafka name is the origin, a dot, and the Kafka name of the topic, for example
dc-a.orders. MirrorMaker 2 names remote topics in the same way. So a pattern such as(dc-a\.)?ordersmatches the local topic and its shadows. - A Kafka consumer reads a shadow with the offsets of its origin. Fetch, ListOffsets, consumer groups and offset commits work on a shadow.
- A produce to a shadow is refused with
INVALID_TOPIC_EXCEPTION(17), as Kafka refuses a produce to an internal topic. A delete of a shadow is refused. The partition count and the options of geo topics and shadows do not change, soCreatePartitionsand config alters of them are refused. - A local topic cannot take the name of a shadow.
- The operator guide and the gateway documentation tell how to use geo topics through the gateway. They also tell what a Kafka user that moves from a merged topic must change.
Acceptance criteria
- A Kafka producer in each of two datacenters writes to its own geo topic. One Kafka consumer group in one datacenter reads both logs with a pattern subscription, with no gaps and no duplicates.
- That group stops, starts in the other datacenter, and resumes from its committed offsets on both logs.
- A test shows each of these points.
Notes
- Builds on #5012, which carries the offsets of Kafka groups between datacenters.
- Out of scope: one merged topic that holds the messages of all datacenters. Geo topics keep one log for each origin.
- Lingua principale
- Rust
- Stelle
- 5.3k
- Fork
- 548
- Merge medio
- 2g 20h
- PR unite (30g)
- 194
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/iggy
-
go good first issue test
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 2 giorni
-
go good first issue test
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 2 giorni
-
go good first issue test
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 2 giorni
-
good first issue java test
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 2 giorni
-
good first issue javascript test
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 2 giorni
Issue simili
-
marketing
Difficoltà 2/5 Mezza giornata Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
S: Untriaged T: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
libnyanpasu/clash-nyanpasu#6537 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 62/100
tauri-apps/tao#1445 ·
I maintainer di solito rispondono entro 1 giorno
-
bug P3
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
nearai/compose-manager#95 ·
I maintainer di solito rispondono entro 1 giorno