From 935d202fc3df00b5f955f7fc0e827616779cd13d Mon Sep 17 00:00:00 2001 From: Ajay Prabhakar <85256137+ajprabhakar-google@users.noreply.github.com> Date: Fri, 15 Oct 2021 09:05:17 -0500 Subject: [PATCH] Update copy_tool.py The current copy_tool.py does not work because of incorrect download links for Kafka. This change fixes that. --- kafka-connector/copy_tool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kafka-connector/copy_tool.py b/kafka-connector/copy_tool.py index 0b8dce69..b0fe455b 100644 --- a/kafka-connector/copy_tool.py +++ b/kafka-connector/copy_tool.py @@ -17,9 +17,9 @@ import tempfile import subprocess -KAFKA_RELEASE = "2.6.0" +KAFKA_RELEASE = "3.0.0" KAFKA_FOLDER = f"kafka_2.13-{KAFKA_RELEASE}" -KAFKA_LINK = f"https://downloads.apache.org/kafka/{KAFKA_RELEASE}/{KAFKA_FOLDER}.tgz" +KAFKA_LINK = f"https://dlcdn.apache.org/kafka/{KAFKA_RELEASE}/{KAFKA_FOLDER}.tgz" CONNECTOR_RELEASE = "v0.10-alpha" PUBSUB_CONNECTOR_LINK = f"https://github.com/GoogleCloudPlatform/pubsub/releases/download/{CONNECTOR_RELEASE}/pubsub-kafka-connector.jar"