摘要: 一、RocketMQ介绍 1、相关术语名词 1. NameSrv:是一个几乎无状态节点,可集群部署,节点之间无任何信息同步。 2. Broker:分为Master与Slave,一个Master可以对应多个Slave,但是一个Slave只能对应一个Master,BrokerId为0表示Master,M 阅读全文
posted @ 2020-02-16 17:26 蘇氏加多寶 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 创建topic,指定备份分区数 bin/kafka-topics.sh --create --zookeeper zk:2181 --replication-factor 2 --partitions 4 --topic test-topic 查看topic 查看topic列表 bin/kafka- 阅读全文
posted @ 2020-02-16 17:20 蘇氏加多寶 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: 一、ES介绍 1、基础概念介绍 1. 索引:Elasticsearch中的“索引”有点像关系数据库中的数据库。 它是存储/索引数据的地方; 2.分片 shard “分片”是Lucene的一个索引。 它本身就是一个功能齐全的搜索引擎。 “索引”可以由单个分片组成,但通常由多个分片组成,一部分主分片、一 阅读全文
posted @ 2020-02-16 17:12 蘇氏加多寶 阅读(749) 评论(0) 推荐(0) 编辑
摘要: # my global config global: scrape_interval: 10s # Set the scrape interval to every 15 seconds. Default is every 1 minute. evaluation_interval: 10s # E 阅读全文
posted @ 2020-02-16 17:06 蘇氏加多寶 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1、action.yml actions: 1: action: index_settings options: index_settings: index: routing.allocation.require.hotwarm_type: warm ignore_empty_list: True 阅读全文
posted @ 2020-02-16 16:49 蘇氏加多寶 阅读(632) 评论(0) 推荐(0) 编辑