diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9685fb4..86ce50e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -101,11 +101,11 @@ jobs: run: | sudo apt-get -y install tar sudo apt-get -y install wget - wget https://mirror.lyrahosting.com/apache/kafka/2.6.0/kafka_2.13-2.6.0.tgz - tar -xzf kafka_2.13-2.6.0.tgz - nohup ./kafka_2.13-2.6.0/bin/zookeeper-server-start.sh ./kafka_2.13-2.6.0/config/zookeeper.properties & - nohup ./kafka_2.13-2.6.0/bin/kafka-server-start.sh ./kafka_2.13-2.6.0/config/server.properties & - nohup ./kafka_2.13-2.6.0/bin/kafka-topics.sh --create --topic bgpalerter --bootstrap-server 0.0.0.0:9092 & + wget https://dlcdn.apache.org/kafka/3.0.0/kafka_2.13-3.0.0.tgz + tar -xzf kafka_2.13-3.0.0.tgz + nohup ./kafka_2.13-3.0.0/bin/zookeeper-server-start.sh ./kafka_2.13-3.0.0/config/zookeeper.properties & + nohup ./kafka_2.13-3.0.0/bin/kafka-server-start.sh ./kafka_2.13-3.0.0/config/server.properties & + nohup ./kafka_2.13-3.0.0/bin/kafka-topics.sh --create --topic bgpalerter --bootstrap-server 0.0.0.0:9092 & sleep 20 && npm run test-kafka - name: Upload Artifact