liveBook · Manning

Single message transformation

A single message transformation is a stateless Kafka Connect operation that independently modifies or filters each record passing through a connector.

How 2 Manning books explain it

Kafka Streams in Action, Second Edition

A Single Message Transform (SMT) is a lightweight Kafka Connect transformation that modifies each record independently as it passes through a connector.

How it is used
Applies lightweight, record-by-record changes while Kafka Connect imports data into Kafka or exports it to external systems.
How deep it goes
Explains connector placement, ordered configuration, and practical limits, but stops short of implementing a custom transformation.
Examples
Demonstrates credit-card masking, customer-key extraction, field removal, filtering, and nested-structure flattening.
What you can do after
Operate/configure Kafka Connect transforms using ordered JSON without writing code for provided SMTs.

Read how Kafka Streams in Action, Second Edition explains single message transformation →

Apache Kafka in Action

A single message transformation is a Kafka Connect transformation that modifies an individual record as it passes through a source or sink connector.

How it is used
Applies focused record changes while moving data between external systems, Kafka topics, and connectors.
How deep it goes
Explains execution placement, ordered JSON configuration, and common transformations, but stops short of complex ETL design.
Examples
Demonstrates ReplaceField, ValueToKey, ExtractField, field renaming, field removal, and product_id key extraction.
What you can do after
Configure ordered SMT pipelines through Kafka Connect’s REST API for simple source or sink record changes.

Read how Apache Kafka in Action explains single message transformation →

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.