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

https://github.com/ppatierno/kafka-go-examples

Kafka examples using Go language
https://github.com/ppatierno/kafka-go-examples

go golang kafka kafka-consumer kafka-producer

Last synced: over 1 year ago
JSON representation

Kafka examples using Go language

Awesome Lists containing this project

README

          

# Apache Kafka Go examples

Apache Kafka sample applications in Go language using the [segmentio](https://github.com/segmentio/kafka-go) and [shopify sarama](https://github.com/Shopify/sarama) Kafka Go libraries.

* segmentio:
* consumer: consumer application.
* producer: producer application.
* sarama:
* sync-producer: synchronous producer application
* async-producer: asynchronous producer application
* partition-consumer: partition consumer application
* util: utility package used by the consumer/producer applications.

It also provides the related Dockerfile for building Docker container images but it's needed to build the applications before building these images.

Finally, it provides YAML files describing Kubernetes Deployment(s) for the consumer and producer applications.