GlobalKTable
GlobalKTable is a Kafka Streams abstraction that replicates all records from an underlying topic to every application instance for read-only access.
Kafka Streams in Action, Second Edition
GlobalKTable is a Kafka Streams abstraction that stores all records of an underlying topic on every application instance without partition sharding.
- How it is used
- Broadcasts reference data to every Kafka Streams instance for enriching event streams through joins.
- How deep it goes
- Explains partition replication, local materialization, recovery, join key extraction, and dedicated update processing.
- Examples
- Uses user enrichment, website clickstreams, and unkeyed IoT sensor readings joined with sensor metadata.
- What you can do after
- Apply KStream-GlobalKTable joins by deriving the lookup key from each stream record.
Read how Kafka Streams in Action, Second Edition explains GlobalKTable →
Kafka for Architects
GlobalKTable is a Kafka Streams interface for a globally replicated, immutable, read-only table that is available to every application task.
- How it is used
- Supports stream-to-table lookups when the complete table can be broadcast to every application task.
- How deep it goes
- Defines broadcast, immutable read-only lookup behavior and contrasts it with copartitioning, while deferring advanced join types.
- Examples
- Uses an incoming order and a customer table to demonstrate matching, missing keys, and non-reprocessing table updates.
- What you can do after
- Apply it via Kafka Streams to perform fast table lookups without partitioning constraints.
What to know first
- topicA topic is a named channel or category that groups messages or records for publication and delivery to interested consumers.
Related concepts
- KeyValueStoreuses · KeyValueStore is the Kafka Streams state-store interface for persistently storing and retrieving key-value records.
- KTablealternative to · KTable is a Kafka Streams abstraction representing the latest value associated with each key as a continuously updated table.
- stream-global-table joinused by · A stream-global-table join combines records from a KStream with matching records in a fully replicated GlobalKTable.
- changelogcontrasts with · A changelog topic is a Kafka topic that records state-store updates so processing state can be recovered or restored.
- copartitioningcontrasts with · Copartitioning is the arrangement of input topics with compatible partitioning so records with corresponding keys can be processed together.
- topicuses · A topic is a named channel or category that groups messages or records for publication and delivery to interested consumers.
Questions about GlobalKTable
What is GlobalKTable?
GlobalKTable is a Kafka Streams abstraction that replicates all records from an underlying topic to every application instance for read-only access.
Which Manning books explain GlobalKTable?
Kafka Streams in Action, Second Edition and Kafka for Architects.
What should I know before learning GlobalKTable?
Manning books that teach GlobalKTable usually introduce topic first.
What is the difference between GlobalKTable and KTable?
GlobalKTable is a Kafka Streams abstraction that replicates all records from an underlying topic to every application instance for read-only access. KTable is a Kafka Streams abstraction representing the latest value associated with each key as a continuously updated table.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

