Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lafayettegabe/simple-event-stream

📨 SES: A simple event-driven PoC using NATS for real-time Pub/Sub messaging
https://github.com/lafayettegabe/simple-event-stream

docker docker-compose event-driven event-driven-architecture go golang javascript nats pubsub stream streaming

Last synced: 12 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Simple Event Stream





A simple event-driven system using [NATS](https://nats.io/) 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.

##