Simple utility extension for easy use of Confluent's Golang Client for Apache Kafka.
- Go 1.13+ (for Go Modules support)
- librdkafka (depends on your OS)
Starting with Go 1.13, you can use Go Modules to install confluent-kafka-go-ext.
Import the confluent
package from GitHub in your code:
import "github.com/osframework/confluent-kafka-go-ext/confluent"
Build your project:
go build ./...
If you are building for Alpine Linux (musl), -tags musl
must be specified.
go build -tags musl ./...
A dependency to the latest stable version of confluent-kafka-go-ext should be automatically added to your go.mod
file.
Contributions to the code, examples, documentation, etc. are appreciated.
- Make your changes
- run make
- push your branch
- create a PR