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

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

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
```