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

https://github.com/digorithm/event-driven-kafka-go-template

Simple template for event-driven systems using Go and Kafka.
https://github.com/digorithm/event-driven-kafka-go-template

golang kafka sarama

Last synced: about 1 year ago
JSON representation

Simple template for event-driven systems using Go and Kafka.

Awesome Lists containing this project

README

          

Simple template that I've been using to build event-driven systems using:
1. Go
2. Kafka
3. Sarama's Kafka API (https://github.com/Shopify/sarama)

It's organized as a reusable producer code in a high-level package (`pkg`). This producer can be used embedded in any consumer.

Then we have the consumers, I created two as an example: `ordering` and `payment`. Creating a new consumer is only about following what has been done in these packages.