<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Serialization on Devops Monk</title><link>https://devops-monk.com/tags/serialization/</link><description>Recent content in Serialization on Devops Monk</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 04 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://devops-monk.com/tags/serialization/index.xml" rel="self" type="application/rss+xml"/><item><title>Custom Serializers and Deserializers</title><link>https://devops-monk.com/tutorials/spring-kafka/custom-serializers/</link><pubDate>Mon, 04 May 2026 00:00:00 +0000</pubDate><guid>https://devops-monk.com/tutorials/spring-kafka/custom-serializers/</guid><description>When to Write a Custom Serializer Spring Kafka ships JSON and Avro support. You need a custom serializer when:
Your team uses Protobuf or MessagePack and wants native support You need a compact binary format for high-throughput topics (pricing ticks, sensor readings) You&amp;rsquo;re integrating with a legacy system that publishes a fixed binary protocol You want deterministic serialization for event deduplication or content-addressed storage The Serializer and Deserializer Interfaces // org.</description></item><item><title>JSON Serialization: JsonSerializer, JsonDeserializer, and Type Mapping</title><link>https://devops-monk.com/tutorials/spring-kafka/json-serialization/</link><pubDate>Mon, 04 May 2026 00:00:00 +0000</pubDate><guid>https://devops-monk.com/tutorials/spring-kafka/json-serialization/</guid><description>The Serialization Problem Kafka stores bytes. KafkaTemplate&amp;lt;String, OrderPlacedEvent&amp;gt; needs to turn your Java object into bytes for the producer, and @KafkaListener needs to turn those bytes back into the right Java class on the consumer. Spring Kafka ships JsonSerializer and JsonDeserializer built on Jackson to handle this — but they have several sharp edges that break in real multi-service deployments.
How Spring Kafka JSON Serialization Works flowchart LR subgraph Producer["Order Service"</description></item></channel></rss>