This service consumes comment notification events from RabbitMQ and exposes APIs to read notifications.
- Java 21
- Postgres
- RabbitMQ
Copy .env.example to .env and adjust values.
./mvnw spring-boot:runGET /notifications?userId=<uuid>GET /notifications/unread?userId=<uuid>POST /notifications/{notificationId}/read?userId=<uuid>
Exchange: notification.exchange
Queue: notification.comment.queue
Routing key: notification.comment