Scaling Order Tracking with Kafka, Domain Events, and Auto-Ingestion
We moved from a synchronous REST insert to an event-driven pipeline: batch POST → domain events → private Kafka topic → consumer maps back to domain and processes as before. Here’s the why, the how, and the code.
6 minute
kafka
redpanda
spring-boot
ddd
hexagonal
testcontainers
docker-compose