上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: 一、安装 Docker curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun镜像加速(本文使用阿里云镜像): ## vi /etc/docker/daemon.json {"registry-mirrors":["htt 阅读全文
posted @ 2021-01-15 15:45 VictorBu 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 本文使用的 Prometheus 版本为 2.22.0,node exporter 版本为 1.0.1;部署在 Linux 服务器Prometheus 是开源的监控报警系统和时序列数据库 (TSDB);node exporter 用来监控服务器CPU、内存、磁盘、I/O等信息 一、node expo 阅读全文
posted @ 2020-10-30 17:41 VictorBu 阅读(1542) 评论(0) 推荐(0) 编辑
摘要: 本文使用的 Loki 和 Promtail 版本为 1.6.1,Grafana 版本为 7.2.0;部署在 Linux 服务器 Loki 负责日志的存储和查询;Promtail 负责日志的采集并推送给 Loki;Grafana 负责日志展示 一、Loki Loki 下载地址:https://gith 阅读全文
posted @ 2020-09-27 19:37 VictorBu 阅读(1886) 评论(0) 推荐(0) 编辑
摘要: spring: kafka: bootstrap-servers: IP:端口 listener: missing-topics-fatal: false properties: sasl: mechanism: PLAIN jaas: config: 'org.apache.kafka.commo 阅读全文
posted @ 2020-09-03 20:40 VictorBu 阅读(6452) 评论(0) 推荐(1) 编辑
摘要: Paho 自动重连后订阅的主题会清空,所以需要实现 MqttCallbackExtended 接口,在 connectComplete 方法添加订阅主题;而不是实现 MqttCallback 接口 一、添加引用 <dependency> <groupId>org.eclipse.paho</grou 阅读全文
posted @ 2020-07-17 10:52 VictorBu 阅读(3513) 评论(1) 推荐(1) 编辑
摘要: 关于 JJWT 的使用,可以参考之前的文章:JJWT 使用示例 一、鉴权过滤器 @Component public class JwtAuthenticationTokenFilter extends OncePerRequestFilter { @Override protected void d 阅读全文
posted @ 2020-06-24 11:48 VictorBu 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: MinIO 是一个非常轻量的基于 Apache License v2.0 开源协议的对象存储服务。它兼容亚马逊 S3 云存储服务接口,非常适合于存储大容量非结构化的数据,例如图片、视频、日志文件、备份数据和容器/虚拟机镜像等,而一个对象文件可以是任意大小,从几 kb 到最大 5T 不等。 一、Min 阅读全文
posted @ 2020-06-18 10:36 VictorBu 阅读(2267) 评论(0) 推荐(0) 编辑
摘要: 需要实现看门狗功能,定时检测另外一个程序是否在运行,使用 crontab 仅可以实现检测程序是否正在运行,无法做到扩展,如:手动重启、程序升级(如果只需要实现自动升级功能可以使用 inotify)等功能;最后决定使用 Spring Boot 调用 Shell 脚本来实现 一、脚本 1.1 启动脚本 阅读全文
posted @ 2020-06-12 17:11 VictorBu 阅读(2275) 评论(0) 推荐(0) 编辑
摘要: 一、Canal Admin 安装与配置 1.1 下载 wget https://github.com/alibaba/canal/releases/download/canal-1.1.4/canal.admin-1.1.4.tar.gz tar zxvf canal.admin-$version. 阅读全文
posted @ 2020-06-09 19:54 VictorBu 阅读(4702) 评论(0) 推荐(1) 编辑
摘要: canal 是阿里巴巴开源的 MySQL binlog 增量订阅&消费组件 canal 工作原理: canal 模拟 MySQL slave 的交互协议,伪装自己为 MySQL slave ,向 MySQL master 发送dump 协议 MySQL master 收到 dump 请求,开始推送 阅读全文
posted @ 2020-06-08 10:40 VictorBu 阅读(281) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页