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