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 d838fbf2b4
Init
3 years ago
..
.gitignore Init 3 years ago
LICENSES.txt Init 3 years ago
README.md Init 3 years ago
bundle-import.sh Init 3 years ago
import.sh Init 3 years ago
librdkafka.go Init 3 years ago
librdkafka_darwin.a Init 3 years ago
librdkafka_glibc_linux.a Init 3 years ago
librdkafka_musl_linux.a Init 3 years ago
librdkafka_windows.a Init 3 years ago
rdkafka.h Init 3 years 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.