File tree Expand file tree Collapse file tree
.ddev/ci/scripts/kafka_consumer/linux Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,14 @@ sudo apt update
66sudo apt install -y --no-install-recommends build-essential libkrb5-dev libzstd-dev wget software-properties-common lsb-release gcc make python3 python3-pip python3-dev libsasl2-modules-gssapi-mit krb5-user
77
88# Install librdkafka from source since no binaries are available for the distribution we use on the CI:
9- git clone https://github.com/confluentinc/librdkafka
10- cd librdkafka
11- git checkout v2.13.2
9+ LIBRDKAFKA_VERSION=" v2.13.2"
10+ LIBRDKAFKA_SHA256=" 14972092e4115f6e99f798a7cb420cbf6daa0c73502b3c52ae42fb5b418eea8f"
11+ LIBRDKAFKA_TARBALL=" ${LIBRDKAFKA_VERSION} .tar.gz"
12+
13+ wget " https://github.com/confluentinc/librdkafka/archive/refs/tags/${LIBRDKAFKA_TARBALL} "
14+ echo " ${LIBRDKAFKA_SHA256} ${LIBRDKAFKA_TARBALL} " | sha256sum -c -
15+ tar -xzf " ${LIBRDKAFKA_TARBALL} "
16+ cd " librdkafka-${LIBRDKAFKA_VERSION# v} "
1217sudo ./configure --install-deps --prefix=/usr
1318make
1419sudo make install
You can’t perform that action at this time.
0 commit comments