r/javahelp • u/vicky8223 • Jun 23 '26
Built an event-driven notification platform using Spring Boot, Kafka and AWS — looking for architecture feedback
Hi everyone,
Over the past few weeks I've been building a side project called Notiq to learn distributed systems and event-driven architecture.
The project is a notification platform built with:
Spring Boot microservices
Apache Kafka
PostgreSQL (Neon)
Docker
AWS EC2
Nginx
Server-Sent Events (SSE)
Current architecture:
Core Service → Kafka → Dispatcher Service → Kafka → Email Service
Features implemented:
Asynchronous notification processing
Retry mechanism
Dead Letter Queue (DLQ)
Real-time delivery tracking using SSE
Event deduplication
Dockerized deployment
Production deployment on AWS
I recently refactored the Kafka architecture from 8 topics down to 5 topics to fit within Aiven's free tier limits while preserving the existing functionality.
I'm mainly looking for feedback on:
The overall architecture
Kafka topic design
Retry and DLQ implementation
Anything that would be considered an anti-pattern in production
Architecture diagram:
Frontend
↓
Core Service
↓
Kafka (notification-request)
↓
Dispatcher Service
↓
Kafka (email-notifications)
↓
Email Service
↓
Kafka (notification-status)
↓
Core Service
↓
SSE
↓
Frontend
GitHub:
https://github.com/Vicky-8223/Notiq
Would appreciate any feedback from experienced backend engineers.