Browse Source

Download Kafka from Apache Archives

Apache Kafka 0.9.0.1 is not available on mirrors any more.

Change-Id: Ibfd548919c7a50809ad4ebd0b6eb9045f3b4250c
Adrian Czarnecki 1 year ago
parent
commit
3ea627d853
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      devstack/lib/kafka.sh
  2. 2
    0
      devstack/settings

+ 1
- 1
devstack/lib/kafka.sh View File

@@ -28,7 +28,7 @@ function install_kafka {
28 28
         echo_summary "Installing kafka"
29 29
 
30 30
         local kafka_tarball=kafka_${KAFKA_VERSION}.tgz
31
-        local kafka_tarball_url=${APACHE_MIRROR}kafka/${BASE_KAFKA_VERSION}/${kafka_tarball}
31
+        local kafka_tarball_url=${APACHE_ARCHIVES}kafka/${BASE_KAFKA_VERSION}/${kafka_tarball}
32 32
         local kafka_tarball_dest=${FILES}/${kafka_tarball}
33 33
 
34 34
         download_file ${kafka_tarball_url} ${kafka_tarball_dest}

+ 2
- 0
devstack/settings View File

@@ -63,6 +63,8 @@ ELASTICSEARCH_DATA_DIR=$DATA_DIR/elasticsearch
63 63
 
64 64
 KAFKA_SERVICE_HOST=${KAFKA_SERVICE_HOST:-${SERVICE_HOST}}
65 65
 KAFKA_SERVICE_PORT=${KAFKA_SERVICE_PORT:-9092}
66
+# Apache Kafka 0.9.0.1 is only available in Apache Archives
67
+APACHE_ARCHIVES=${APACHE_ARCHIVES:-"https://archive.apache.org/dist/"}
66 68
 
67 69
 # configuration
68 70
 MONASCA_EVENTS_LOG_DIR=${MONASCA_EVENTS_LOG_DIR:-/var/log/monasca}

Loading…
Cancel
Save