sch39
Articles
About
ID
☾
Articles
All
spring-boot
14
go
9
go-engineering-notes
9
java-reactive-microservices-engineering-notes
7
webflux
5
apache-kafka-engineering-notes
4
grpc
3
java
3
json-serializer
1
+62 more
Spring MVC Producers: KafkaTemplate, Keys, and JSON
Nov 2026
KafkaTemplate sends OrderCreated events as JSON to a Kafka topic via a Spring MVC endpoint, using customerId as the key. The reader proves that the same key always lands in the same partition, then sees a trusted packages error on the consumer side and fixes it.