Skip to content

📨 SES: A simple event-driven PoC using NATS for real-time Pub/Sub messaging

Notifications You must be signed in to change notification settings

lafayettegabe/simple-event-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Event Stream

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.

Overview

This project consists of these main components:

  1. NATS Server: A lightweight and high-performance messaging system.
  2. Publisher: A Go-based service that publishes UUID messages to a NATS subject.
  3. 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.