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

https://github.com/gutyoh/kafka-notify

Real-time notification system built with Go and Kafka
https://github.com/gutyoh/kafka-notify

go golang kafka

Last synced: 10 months ago
JSON representation

Real-time notification system built with Go and Kafka

Awesome Lists containing this project

README

          

# Real-Time Notification System with Go and Kafka

A simple real-time notification system built with Go and Apache Kafka. This project demonstrates the integration of Kafka's event streaming capabilities with Go to create a basic notification system.

## 📚 Detailed Tutorial

For an in-depth explanation of this project, including step-by-step instructions and code breakdowns, check out the full article on freeCodeCamp:

[How to Build a Real-Time Notification System with Go and Kafka](https://www.freecodecamp.org/news/build-a-real-time-notification-system-with-go-and-kafka/)

## 🚀 Features

- **Basic real-time notifications**: Send messages between users
- **Kafka integration**: Uses Kafka as a message broker
- **Go implementation**: Leverages Go's concurrency for the consumer group
- **Simple API**: HTTP endpoints for sending and retrieving notifications
- **Docker setup**: Easy Kafka setup using Docker Compose

## 🛠️ Technologies Used

- [Go 1.21+](https://go.dev/learn/)
- [Apache Kafka](https://kafka.apache.org/)
- [Sarama](https://github.com/IBM/sarama) (Kafka client for Go)
- [Gin Web Framework](https://github.com/gin-gonic/gin)
- [Docker & Docker Compose](https://docs.docker.com/compose/)