💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## Kafka 部署 ### **安装** ``` ansible-playbook -i hosts/kafka_hosts kafka/kafka.yml -e '{"scala_version":"2.11","kafka_version":"2.4.1"}' --tags install_kafka ``` ### **初始化配置** (指定zk cluster) ``` ansible-playbook -i hosts/kafka_hosts kafka/kafka.yml -e '{"scala_version":"2.11","kafka_version":"2.4.1"}' -e '{"zk_cluster":"192.168.12.221:2181,192.168.12.222:2181,192.168.12.223:2181"}' --tags init_conf ``` ### 启停服务 ``` ansible-playbook -i hosts/kafka_hosts kafka/kafka.yml -e '{"scala_version":"2.11","kafka_version":"2.4.1"}' --tags start_kafka ansible-playbook -i hosts/kafka_hosts kafka/kafka.yml -e '{"scala_version":"2.11","kafka_version":"2.4.1"}' --tags stop_kafka ```