From 3852cbfee7df23f70f742d87ebab8e0cfa975f41 Mon Sep 17 00:00:00 2001 From: Julien Debon Date: Mon, 1 Jul 2019 09:17:14 +0200 Subject: [PATCH] Add librdkafka to the debian bootstrap Closes #4656. --- debian-bootstrap.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian-bootstrap.sh b/debian-bootstrap.sh index bdd8f27d..dd06d03d 100755 --- a/debian-bootstrap.sh +++ b/debian-bootstrap.sh @@ -275,6 +275,12 @@ echo /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server > /etc/ld.so.conf.d/ echo /usr/lib/llvm-3.7/lib > /etc/ld.so.conf.d/llvm.conf ldconfig + +# Install librdkafka (Apache Kafka C/C++ library) +wget -qO - https://packages.confluent.io/deb/5.2/archive.key | apt-key add - +add-apt-repository "deb https://packages.confluent.io/deb/5.2 stable main" +apt-get update && apt install -y librdkafka-dev + # EOF: don't build anything below this line # Cleanup