Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(ingestion): bump linked librdkafka from 2.10.1 to 2.12.0 (#63473)

José Sequeira710f13cce4c3
diff --git a/Dockerfile.node b/Dockerfile.node
index 8d8b3f08d6cb..c356dc78beda 100644
--- a/Dockerfile.node
+++ b/Dockerfile.node
@@ -11,7 +11,7 @@
FROM ghcr.io/posthog/rust-node-container:bookworm_rust_1.91-node_24.13.0 AS nodejs-build
# Compile and install system dependencies
-# Add Confluent's client repository for librdkafka 2.10.1
+# Add Confluent's client repository for librdkafka 2.12.0
RUN apt-get update && \
apt-get install -y --no-install-recommends \
"wget" \
@@ -26,9 +26,9 @@ RUN apt-get update && \
"g++" \
"gcc" \
"python3" \
- "librdkafka1=2.10.1-1.cflt~deb12" \
- "librdkafka++1=2.10.1-1.cflt~deb12" \
- "librdkafka-dev=2.10.1-1.cflt~deb12" \
+ "librdkafka1=2.12.0-1.cflt~deb12" \
+ "librdkafka++1=2.12.0-1.cflt~deb12" \
+ "librdkafka-dev=2.12.0-1.cflt~deb12" \
# libssl pinned to the 3.0 series (ABI-stable), not an exact version: Debian rotates
# point releases out of the security archive, which breaks exact pins on uncached builds.
"libssl-dev=3.0.*" \
@@ -50,7 +50,7 @@ COPY ./common/replay-shared/package.json ./common/replay-shared/
COPY ./common/replay-headless/package.json ./common/replay-headless/
SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]
-# Use system librdkafka from Confluent (2.10.1) instead of bundled version
+# Use system librdkafka from Confluent (2.12.0) instead of bundled version
ENV BUILD_LIBRDKAFKA=0
# Compile and install Node.js dependencies
@@ -100,8 +100,8 @@ RUN apt-get update && \
echo "deb [signed-by=/etc/apt/keyrings/confluent-clients.gpg] https://packages.confluent.io/clients/deb/ bookworm main" > /etc/apt/sources.list.d/confluent-clients.list && \
apt-get update && \
apt-get install -y --no-install-recommends --allow-downgrades \
- "librdkafka1=2.10.1-1.cflt~deb12" \
- "librdkafka++1=2.10.1-1.cflt~deb12" \
+ "librdkafka1=2.12.0-1.cflt~deb12" \
+ "librdkafka++1=2.12.0-1.cflt~deb12" \
# libssl pinned to the 3.0 series (ABI-stable), not an exact version: Debian rotates
# point releases out of the security archive, which breaks exact pins on uncached builds.
"libssl3=3.0.*" \
diff --git a/Dockerfile.recording-rasterizer b/Dockerfile.recording-rasterizer
index 70cbf23f5640..01b76c6e4a95 100644
--- a/Dockerfile.recording-rasterizer
+++ b/Dockerfile.recording-rasterizer
@@ -24,9 +24,9 @@ RUN apt-get update && \
"g++" \
"gcc" \
"python3" \
- "librdkafka1=2.10.1-1.cflt~deb12" \
- "librdkafka++1=2.10.1-1.cflt~deb12" \
- "librdkafka-dev=2.10.1-1.cflt~deb12" \
+ "librdkafka1=2.12.0-1.cflt~deb12" \
+ "librdkafka++1=2.12.0-1.cflt~deb12" \
+ "librdkafka-dev=2.12.0-1.cflt~deb12" \
# libssl pinned to the 3.0 series (ABI-stable), not an exact version: Debian rotates
# point releases out of the security archive, which breaks exact pins on uncached builds.
"libssl-dev=3.0.*" \
@@ -106,8 +106,8 @@ RUN apt-get update && \
echo "deb [signed-by=/etc/apt/keyrings/confluent-clients.gpg] https://packages.confluent.io/clients/deb/ bookworm main" > /etc/apt/sources.list.d/confluent-clients.list && \
apt-get update && \
apt-get install -y --no-install-recommends --allow-downgrades \
- "librdkafka1=2.10.1-1.cflt~deb12" \
- "librdkafka++1=2.10.1-1.cflt~deb12" \
+ "librdkafka1=2.12.0-1.cflt~deb12" \
+ "librdkafka++1=2.12.0-1.cflt~deb12" \
# libssl pinned to the 3.0 series (ABI-stable), not an exact version: Debian rotates
# point releases out of the security archive, which breaks exact pins on uncached builds.
"libssl3=3.0.*" \