liveBook · Manning

Serde

A Serde is a component that provides serialization and deserialization for a particular data type.

How 2 Manning books explain it

Kafka Streams in Action, Second Edition

Serdes is a Kafka Streams utility class that provides factory methods for standard Serde implementations.

How it is used
Configures Kafka Streams source, sink, and state boundaries to convert byte-array records into typed keys and values.
How deep it goes
Defines Serdes, catalogs built-ins, constructs custom pairs with serdeFrom, and defers serializer and deserializer implementation details.
Examples
Uses a string-based Yelling app, retail purchase objects, rewards output, and a KTable of stock trades.
What you can do after
Apply it via Kafka Streams APIs to configure typed stream sources, sinks, state stores, custom objects, and Schema Registry formats.

Read how Kafka Streams in Action, Second Edition explains Serde →

Akka in Action, Second Edition

A SerDe is a serializer-deserializer component that converts structured data to and from a storable or transferable representation.

How it is used
Restores persistent actor events and carries structured messages between application objects and journal representations.
How deep it goes
Explains storage bindings, serializer identifiers, and version compatibility, but stops short of custom serializer implementation details.
Examples
Uses evolving AddCargo and CargoAdded events plus a journal table containing binary payloads and serializer identifiers.
What you can do after
Operate/configure event persistence and evaluate serializer strategies for safely reading older event schemas.

Read how Akka in Action, Second Edition explains Serde →

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.