Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lafayettegabe/simple-event-stream
- Owner: lafayettegabe
- Created: 2024-08-07T18:19:41.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T19:10:08.000Z (5 months ago)
- Last Synced: 2024-08-08T22:24:50.692Z (5 months ago)
- Topics: docker, docker-compose, event-driven, event-driven-architecture, go, golang, javascript, nats, pubsub, stream, streaming
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
##