liveBook · Manning

GlobalKTable

GlobalKTable is a Kafka Streams abstraction that replicates all records from an underlying topic to every application instance for read-only access.

How 2 Manning books explain it

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.

Read how Kafka for Architects explains GlobalKTable →

Related concepts

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.