liveBook · Manning

Stream-table join

A stream-table join combines each incoming stream record with the current table value associated with the record’s matching key.

How 2 Manning books explain it

Kafka Streams in Action, Second Edition

A stream-table join combines records from a KStream with corresponding records in a KTable according to matching keys.

How it is used
Enriches real-time stream events by looking up current keyed information in a table.
How deep it goes
Explains partitioning, join direction, triggers, join types, and implementation APIs, while deferring temporal semantics to versioned state stores.
Examples
Uses clickstream-user enrichment and rewards-member enrichment through Kafka Streams code and ksqlDB statements.
What you can do after
Build it from scratch with Kafka Streams or ksqlDB, selecting partitioning and outer-join behavior for an enrichment pipeline.

Read how Kafka Streams in Action, Second Edition explains stream-table join →

Apache Kafka in Action

A stream-table join combines each incoming stream record with the table value associated with the record's key.

How it is used
Enriches continuous stream events with the latest keyed state held in a table.
How deep it goes
Explains keyed lookup, trigger direction, and co-partitioning, while stopping short of detailed state-store internals.
Examples
Uses salesData with products, plus loyalty cards with customers, to demonstrate enrichment and contrasting join triggers.
What you can do after
Apply it via Kafka Streams by joining a KStream with a KTable and supplying a ValueJoiner.

Read how Apache Kafka in Action explains stream-table join →

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.