blob: 2ddc911ea4e25db2d7223c29d2b404f4a55293a8 [file] [log] [blame]
khenb95fe9a2016-10-05 11:15:25 -07001#!/bin/sh
2
3mirror=$(curl --stderr /dev/null https://www.apache.org/dyn/closer.cgi\?as_json\=1 | jq -r '.preferred')
4url="${mirror}kafka/${KAFKA_VERSION}/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz"
5wget -q "${url}" -O "/tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz"