mirror of
https://github.com/nttgin/BGPalerter.git
synced 2024-05-19 06:50:08 +00:00
update kafka version and point to official apache download link
Took 16 minutes
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user