You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Andrey Kovalev e5301e0977 go get -u ./... && go mod tidy && go mod vendor 2 months ago
..
.gitignore drone.yml 3 years ago
LICENSES.txt go get -u ./... && go mod tidy && go mod vendor 2 months ago
README.md drone.yml 3 years ago
bundle-import.sh go get -u ./... && go mod tidy && go mod vendor 2 months ago
import.sh go get -u ./... && go mod tidy && go mod vendor 2 months ago
librdkafka.go drone.yml 3 years ago
librdkafka_darwin_amd64.a go get -u ./... && go mod tidy && go mod vendor 2 months ago
librdkafka_darwin_arm64.a go get -u ./... && go mod tidy && go mod vendor 2 months ago
librdkafka_glibc_linux.a go get -u ./... && go mod tidy && go mod vendor 2 months ago
librdkafka_musl_linux.a go get -u ./... && go mod tidy && go mod vendor 2 months ago
librdkafka_windows.a go get -u ./... && go mod tidy && go mod vendor 2 months ago
rdkafka.h go get -u ./... && go mod tidy && go mod vendor 2 months ago
rdkafka_mock.h go get -u ./... && go mod tidy && go mod vendor 2 months ago

README.md

Bundling prebuilt librdkafka

confluent-kafka-go bundles prebuilt statically linked versions of librdkafka for the following platforms:

  • MacOSX x64 (aka Darwin)
  • Linux glibc x64 (Ubuntu, CentOS, etc)
  • Linux musl x64 (Alpine)

Import static librdkafka bundle

First create the static librdkafka bundle following the instructions in librdkafka's packaging/nuget/README.md.

Then import the new version by using the import.sh script here, this script will create a branch, import the bundle, create a commit and push the branch to Github for PR review. This PR must be manually opened, reviewed and then finally merged (make sure to merge it, DO NOT squash or rebase).

$ ./import.sh ~/path/to/librdkafka-static-bundle-v1.4.0.tgz

This will copy the static library and the rdkafka.h header file to this directory, as well as generate a new ../build_..go file for this platform + variant.