Project Metamorphosis : dévoilement de l'Event Streaming Platform nouvelle génération. En savoir plus

White Paper

Kafka Serialization and Deserialization (SerDes) Examples

Kafka Serialization and Deserialization (SerDes) Examples

Developers writing event streaming applications can use Kafka Connect to capture events from end systems and then use the Kafka Streams API to transform that data. In building these pipelines, they need to consider data stream format and serialization. For example, some Kafka Streams methods require record keys to be non-null, so either the connector or the application may need to add keys to the original event stream. Or, another consideration is how the record keys or record values are serialized—you must use the appropriate serializer/deserializer (SerDes) to convert data in each direction.

Download the white paper to dive into full Kafka examples, with connector configurations and Kafka Streams code, that demonstrate different data formats and SerDes combinations for building event streaming pipelines:

Example 1: Confluent CLI Producer with String
Example 2: JDBC source connector with JSON
Example 3: JDBC source connector with SpecificAvro
Example 4: JDBC source connector with GenericAvro
Example 5: Java producer with SpecificAvro


Yeva Byzek

Integration Architect

Yeva is an integration architect at Confluent designing solutions and building demos for developers and operators of Apache Kafka. She has many years of experience validating and optimizing end-to-end solutions for distributed software systems and networks.

Download the White Paper