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