https://github.com/smallnest/kafka-go-examples
examples for kafka go clients
https://github.com/smallnest/kafka-go-examples
Last synced: 19 days ago
JSON representation
examples for kafka go clients
- Host: GitHub
- URL: https://github.com/smallnest/kafka-go-examples
- Owner: smallnest
- License: mit
- Created: 2020-08-30T10:55:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T11:18:56.000Z (over 4 years ago)
- Last Synced: 2025-02-09T05:38:27.296Z (2 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kafka-go-examples
examples for kafka go clients.
There are three examples which use the below kafka libs which can access kafka:
- [segmentio/kafka-go](https://github.com/segmentio/kafka-go): It provides both low and high level APIs for interacting with Kafka, easy to use and integrate with existing software.
- [confluent-kafka-go](https://github.com/confluentinc/confluent-kafka-go): a cgo based wrapper around librdkafka, which means it introduces a dependency to a C library on all Go code that uses the package. It has much better documentation than sarama but still lacks support for Go contexts.
- [Shopify/sarama](https://github.com/Shopify/sarama): the most popular but is quite difficult to work with. It is poorly documented, the API exposes low level concepts of the Kafka protocol, and it doesn't support recent Go features like contexts.