A simple event-driven system using NATS for real-time messaging between a publisher and a subscriber. This project demonstrates basic message publishing and subscribing with a focus on simplicity.
This project consists of these main components:
- NATS Server: A lightweight and high-performance messaging system.
- Publisher: A Go-based service that publishes UUID messages to a NATS subject.
- Subscriber: A Node.js-based service that subscribes to messages from the NATS subject.
The publisher generates UUID messages every second and sends them to a NATS subject called updates
. The subscriber listens to the updates
subject and logs any messages received.