From ccb3025b191ff2d39abb146cc87340d09195e12f Mon Sep 17 00:00:00 2001 From: vladsha-dev Date: Mon, 19 Aug 2024 08:09:49 +0200 Subject: [PATCH] [ODEV-1197] Increase the version of the kafka tool (#328) [OSDEV-1197](https://opensupplyhub.atlassian.net/browse/OSDEV-1197) - Upgrade the Kafka tool version to the newest version. The Kafka tools were upgraded to version 3.8.0 [OSDEV-1197]: https://opensupplyhub.atlassian.net/browse/OSDEV-1197?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --------- Co-authored-by: mazur --- doc/release/RELEASE-NOTES.md | 1 + src/kafka-tools/Dockerfile | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/release/RELEASE-NOTES.md b/doc/release/RELEASE-NOTES.md index 4f5235abb..367ea6d99 100644 --- a/doc/release/RELEASE-NOTES.md +++ b/doc/release/RELEASE-NOTES.md @@ -31,6 +31,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html * [OSDEV-1165](https://opensupplyhub.atlassian.net/browse/OSDEV-1165) - Updated the release protocol to include information about quick fixes and how to perform them. Additionally, updated the GitFlow diagram to visually depict this process. * Updated the `RELEASE-PROTOCOL.md` file to include information about OpenSearch and Logstash, stating that their functionality should also be checked after deployment. * [OSDEV-1169](https://opensupplyhub.atlassian.net/browse/OSDEV-1169) - Activated deployment database-anonymizer to production. +* [OSDEV-1197](https://opensupplyhub.atlassian.net/browse/OSDEV-1197) - Upgrade Kafka tools to version 3.8.0 ### Bugfix * [OSDEV-1048](https://opensupplyhub.atlassian.net/browse/OSDEV-1048) - Fixed error "User Cannot read properties of undefined (reading 'length')". diff --git a/src/kafka-tools/Dockerfile b/src/kafka-tools/Dockerfile index 4ad09ff68..63f113142 100644 --- a/src/kafka-tools/Dockerfile +++ b/src/kafka-tools/Dockerfile @@ -2,10 +2,10 @@ FROM amazonlinux:latest WORKDIR /opt/ RUN yum install -y java-1.8.0 wget tar -RUN wget https://dlcdn.apache.org/kafka/3.5.2/kafka_2.13-3.5.2.tgz -RUN tar -xzf kafka_2.13-3.5.2.tgz -RUN ln /opt/kafka_2.13-3.5.2/bin/kafka-topics.sh /bin/kafka-topics -WORKDIR /opt/kafka_2.13-3.5.2/ +RUN wget https://dlcdn.apache.org/kafka/3.8.0/kafka_2.13-3.8.0.tgz +RUN tar -xzf kafka_2.13-3.8.0.tgz +RUN ln /opt/kafka_2.13-3.8.0/bin/kafka-topics.sh /bin/kafka-topics +WORKDIR /opt/kafka_2.13-3.8.0/ COPY ssl.config kafka.sh list.txt . RUN chmod +x kafka.sh \ No newline at end of file