Skip to content

Commit

Permalink
upgrade kafka to version 3.3.2 (#37)
Browse files Browse the repository at this point in the history
* upgrade kafka to version 3.3.2

* update base image
  • Loading branch information
ravisingal authored Feb 9, 2023
1 parent 28569c3 commit 28ee01b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# TODO: port this similarly to kafka-zookeeper in order to share base layer
# The only assumption we make about this FROM is that it has a JRE in path
FROM adoptopenjdk/openjdk11:jre-11.0.16.1_1@sha256:1e458a6a926a6265eb8abf1a4074162ee35984652b01d772f206b57406de0656
FROM adoptopenjdk/openjdk11:jre-11.0.18_10@sha256:3282670f5b315c731cb69d62b5d7eb195392be4a55d22a398c9ed1008490de7d

# Use latest stable release here. Scala 2.13+ supports JRE 14
ENV KAFKA_VERSION=3.2.1 SCALA_VERSION=2.13
ENV KAFKA_VERSION=3.3.2 SCALA_VERSION=2.13

RUN set -ex; \
export DEBIAN_FRONTEND=noninteractive; \
Expand All @@ -25,10 +25,6 @@ RUN set -ex; \
\
rm -rf /opt/kafka/site-docs; \
\
mkdir -p /opt/kafka/prometheus; \
curl -s -o /opt/kafka/prometheus/jmx_prometheus_javaagent-0.12.0.jar https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.12.0/jmx_prometheus_javaagent-0.12.0.jar; \
curl -s -o /opt/kafka/prometheus/kafka-2_0_0.yml https://raw.githubusercontent.com/prometheus/jmx_exporter/master/example_configs/kafka-2_0_0.yml; \
\
apt-get purge -y --auto-remove $buildDeps; \
rm -rf /var/lib/apt/lists/*; \
rm -rf /var/log/dpkg.log /var/log/alternatives.log /var/log/apt /etc/ssl/certs /root/.gnupg
Expand Down
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: kafka
type: application
description: kafka helm chart
appVersion: 2.3.0
appVersion: 3.3.2
version: 0.1.0
2 changes: 1 addition & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ prometheus:
enabled: false
image:
repository: hypertrace/prometheus-jmx-exporter
tag: 0.1.1
tag: 0.1.2
pullPolicy: IfNotPresent
port: 5558
resources:
Expand Down
2 changes: 1 addition & 1 deletion kafka-zookeeper/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FROM cimg/openjdk:14.0.2 AS install

# Use latest stable release here. Scala 2.13+ supports JRE 14
ENV KAFKA_VERSION=3.2.1 SCALA_VERSION=2.13
ENV KAFKA_VERSION=3.3.2 SCALA_VERSION=2.13

USER root
WORKDIR /install
Expand Down

0 comments on commit 28ee01b

Please sign in to comment.