Table-to-table join
A table-to-table join combines two changing keyed tables and updates the resulting values when either table changes.
Kafka Streams in Action, Second Edition
A table-table join is a Kafka Streams operation that combines two KTable representations and recalculates results when either table changes.
- How it is used
- Maintains a derived table by combining current records from two changing KTables.
- How deep it goes
- Explains update triggers, partition constraints, foreign-key joins, and repartition-based processing without detailing API configuration.
- Examples
- Uses client contracts with commodity prices and activity counts joined to rewards members.
- What you can do after
- Apply it via Kafka Streams or ksqlDB to produce joined table results when either input table changes.
Read how Kafka Streams in Action, Second Edition explains table-to-table join →
Apache Kafka in Action
A table-table join combines two changing tables and updates results when either table changes.
- How it is used
- Enriches continuously changing master data by combining two keyed tables whose updates must remain reflected in the result.
- How deep it goes
- Explains key alignment, partitioning, triggering behavior, and inner-join selection, then demonstrates the Kafka Streams structure.
- Examples
- Uses loyalty cards joined with customers and contrasts them with price changes correlated with sales inside a one-minute window.
- What you can do after
- Build it with Kafka Streams by defining keyed tables, selecting a joiner, and applying a primary-key join.
Read how Apache Kafka in Action explains table-to-table join →
Related concepts
- joinkind of · A join is an operation that combines records or rows from multiple data sources according to specified matching conditions or relationships.
- stream-table joincontrasts with · A stream-table join combines each incoming stream record with the current table value associated with the record’s matching key.
- foreign key associationincludes · A foreign key association is a relationship or join between records whose key in one entity or table references a key in another.
- KTableuses · 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.

