github.com/confluentinc/confluent-kafka-go@v1.9.2/kafka/librdkafka_vendor/README.md (about)

     1  # Bundling prebuilt librdkafka
     2  
     3  confluent-kafka-go bundles prebuilt statically linked
     4  versions of librdkafka for the following platforms:
     5  
     6   * MacOSX x64      (aka Darwin)
     7   * Linux glibc x64 (Ubuntu, CentOS, etc)
     8   * Linux musl x64  (Alpine)
     9  
    10  ## Import static librdkafka bundle
    11  
    12  First create the static librdkafka bundle following the instructions in
    13  librdkafka's packaging/nuget/README.md.
    14  
    15  Then import the new version by using the import.sh script here, this script
    16  will create a branch, import the bundle, create a commit and push the
    17  branch to Github for PR review. This PR must be manually opened, reviewed
    18  and then finally merged (make sure to merge it, DO NOT squash or rebase).
    19  
    20      $ ./import.sh ~/path/to/librdkafka-static-bundle-v1.4.0.tgz
    21  
    22  This will copy the static library and the rdkafka.h header file
    23  to this directory, as well as generate a new ../build_..go file
    24  for this platform + variant.