1# 1分钟内连续发送错误请求 5 次
for i in {1..3};do curl http://192.168.1.134/xxxxxx -I;done
2# 修改各节点的配置文件
(1)broker.id
for ((host_id=111;host_id<=113;host_id++)) do ssh elk${host_id} "sed -ri 's#(broker.id=)111#\1${host_id}#g' $KAFKA_HOME/config/server.properties";done