摘要: kafka各类脚本 1、start_kafka.sh #! /bin/bash #启动zookeeper,由于使用外部的zookeeper,所以不需要启动本机的zk #nohup bin/kafka-server-start.sh config/server.properties > logs/ka 阅读全文
posted @ 2020-11-10 14:38 小白啊小白,Fighting 阅读(242) 评论(0) 推荐(0)
摘要: 参考博客:https://www.cnblogs.com/royfans/p/11436395.html 1、修改映射 PUT goods2 { "mappings": { "_doc": { "properties": { "good_id": { "type": "integer" }, "or 阅读全文
posted @ 2020-11-10 10:19 小白啊小白,Fighting 阅读(492) 评论(0) 推荐(0)