https://github.com/vinukathejana/notifications
A simple notification system with live notification streaming powered by Kafka
https://github.com/vinukathejana/notifications
franz-go kafka kafka-consumer kafka-pro notifications
Last synced: 3 months ago
JSON representation
A simple notification system with live notification streaming powered by Kafka
- Host: GitHub
- URL: https://github.com/vinukathejana/notifications
- Owner: VinukaThejana
- Created: 2024-03-16T19:11:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-16T19:25:35.000Z (about 1 year ago)
- Last Synced: 2024-12-28T11:19:51.372Z (5 months ago)
- Topics: franz-go, kafka, kafka-consumer, kafka-pro, notifications
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notifications
A simple notification implementation built with Kafka and Go
## How to run it
### Prerequisites
- Git- Docker
### Steps
- Clone the Repo
```shell
git clone [email protected]:VinukaThejana/notifications.git && cd notifications
```- Run the Kafka Broker and the Kafka management UI with docker.
```shell
cd init/ && docker compose up -d
```- Run the Producer to produce new notifications.
```shell
go run cmd/producer/producer.go
```- Run the consumer to consume notifications in real time as the user submits them.
```shell
go run cmd/consumer/consumer.go
```