From 5b98f8712a669bd1f350483ad0a42dbe931fb4ed Mon Sep 17 00:00:00 2001 From: old-tom <892955278@msn.cn> Date: Wed, 28 Aug 2024 09:20:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- work常用/linux/Centos7 ntp配置.md | 4 ++++ work常用/{ => linux}/GIT操作.md | 0 work常用/{ => linux}/Linux命令.md | 0 work常用/{ => linux}/Nginx常用.md | 0 work常用/{ => python}/pip 、pipenv.md | 0 work常用/{ => python}/python 打包exe.md | 0 work常用/{ => windows}/power-shell.md | 0 work常用/{ => windows}/windows 修改hosts.md | 0 work常用/windows/windows 防火墙开放端口.md | 1 + work常用/{ => 数据库}/Oracle常用.md | 0 work常用/{ => 数据库}/PG 常用SQL.md | 0 work常用/{ => 数据库}/PG-雪花ID.md | 0 work常用/{ => 数据库}/PG12 导入导出sql文件.md | 0 work常用/{ => 数据库}/PG12 建库.md | 0 work常用/{ => 数据库}/Postgresql 常用SQL.md | 0 work常用/{ => 数据库}/SqlServer常用.md | 0 work常用/{ => 数据库}/mysql 常用.md | 0 工作日志/2024/2024-08-19 星期一.md | 7 +++++++ 工作日志/2024/2024-08-26 星期一.md | 7 +++++++ 工作日志/2024/2024-08-27 星期二.md | 5 +++++ 日常学习/中间件/kafka/触发Rebalance的原因.md | 9 +++++++++ 21 files changed, 33 insertions(+) rename work常用/{ => linux}/GIT操作.md (100%) rename work常用/{ => linux}/Linux命令.md (100%) rename work常用/{ => linux}/Nginx常用.md (100%) rename work常用/{ => python}/pip 、pipenv.md (100%) rename work常用/{ => python}/python 打包exe.md (100%) rename work常用/{ => windows}/power-shell.md (100%) rename work常用/{ => windows}/windows 修改hosts.md (100%) create mode 100644 work常用/windows/windows 防火墙开放端口.md rename work常用/{ => 数据库}/Oracle常用.md (100%) rename work常用/{ => 数据库}/PG 常用SQL.md (100%) rename work常用/{ => 数据库}/PG-雪花ID.md (100%) rename work常用/{ => 数据库}/PG12 导入导出sql文件.md (100%) rename work常用/{ => 数据库}/PG12 建库.md (100%) rename work常用/{ => 数据库}/Postgresql 常用SQL.md (100%) rename work常用/{ => 数据库}/SqlServer常用.md (100%) rename work常用/{ => 数据库}/mysql 常用.md (100%) create mode 100644 工作日志/2024/2024-08-19 星期一.md create mode 100644 工作日志/2024/2024-08-26 星期一.md create mode 100644 工作日志/2024/2024-08-27 星期二.md create mode 100644 日常学习/中间件/kafka/触发Rebalance的原因.md diff --git a/work常用/linux/Centos7 ntp配置.md b/work常用/linux/Centos7 ntp配置.md index 0933ca9..1cbbac1 100644 --- a/work常用/linux/Centos7 ntp配置.md +++ b/work常用/linux/Centos7 ntp配置.md @@ -10,6 +10,10 @@ vim /etc/ntp.conf ```shell # 时区设置 timedatectl set-timezone Asia/Shanghai +# 查看123端口 +netstat -lanp|grep 123 +# 如果123被占用 +ntpdate -u 172.31.3.1 # 发起同步 ntpdate 172.31.3.1 # 启动ntp diff --git a/work常用/GIT操作.md b/work常用/linux/GIT操作.md similarity index 100% rename from work常用/GIT操作.md rename to work常用/linux/GIT操作.md diff --git a/work常用/Linux命令.md b/work常用/linux/Linux命令.md similarity index 100% rename from work常用/Linux命令.md rename to work常用/linux/Linux命令.md diff --git a/work常用/Nginx常用.md b/work常用/linux/Nginx常用.md similarity index 100% rename from work常用/Nginx常用.md rename to work常用/linux/Nginx常用.md diff --git a/work常用/pip 、pipenv.md b/work常用/python/pip 、pipenv.md similarity index 100% rename from work常用/pip 、pipenv.md rename to work常用/python/pip 、pipenv.md diff --git a/work常用/python 打包exe.md b/work常用/python/python 打包exe.md similarity index 100% rename from work常用/python 打包exe.md rename to work常用/python/python 打包exe.md diff --git a/work常用/power-shell.md b/work常用/windows/power-shell.md similarity index 100% rename from work常用/power-shell.md rename to work常用/windows/power-shell.md diff --git a/work常用/windows 修改hosts.md b/work常用/windows/windows 修改hosts.md similarity index 100% rename from work常用/windows 修改hosts.md rename to work常用/windows/windows 修改hosts.md diff --git a/work常用/windows/windows 防火墙开放端口.md b/work常用/windows/windows 防火墙开放端口.md new file mode 100644 index 0000000..93d13e7 --- /dev/null +++ b/work常用/windows/windows 防火墙开放端口.md @@ -0,0 +1 @@ +[Windows系统防火墙环境下使用智能组网-- 贝锐蒲公英SD-WAN官网 (oray.com)](https://pgy.oray.com/news/6025.html) \ No newline at end of file diff --git a/work常用/Oracle常用.md b/work常用/数据库/Oracle常用.md similarity index 100% rename from work常用/Oracle常用.md rename to work常用/数据库/Oracle常用.md diff --git a/work常用/PG 常用SQL.md b/work常用/数据库/PG 常用SQL.md similarity index 100% rename from work常用/PG 常用SQL.md rename to work常用/数据库/PG 常用SQL.md diff --git a/work常用/PG-雪花ID.md b/work常用/数据库/PG-雪花ID.md similarity index 100% rename from work常用/PG-雪花ID.md rename to work常用/数据库/PG-雪花ID.md diff --git a/work常用/PG12 导入导出sql文件.md b/work常用/数据库/PG12 导入导出sql文件.md similarity index 100% rename from work常用/PG12 导入导出sql文件.md rename to work常用/数据库/PG12 导入导出sql文件.md diff --git a/work常用/PG12 建库.md b/work常用/数据库/PG12 建库.md similarity index 100% rename from work常用/PG12 建库.md rename to work常用/数据库/PG12 建库.md diff --git a/work常用/Postgresql 常用SQL.md b/work常用/数据库/Postgresql 常用SQL.md similarity index 100% rename from work常用/Postgresql 常用SQL.md rename to work常用/数据库/Postgresql 常用SQL.md diff --git a/work常用/SqlServer常用.md b/work常用/数据库/SqlServer常用.md similarity index 100% rename from work常用/SqlServer常用.md rename to work常用/数据库/SqlServer常用.md diff --git a/work常用/mysql 常用.md b/work常用/数据库/mysql 常用.md similarity index 100% rename from work常用/mysql 常用.md rename to work常用/数据库/mysql 常用.md diff --git a/工作日志/2024/2024-08-19 星期一.md b/工作日志/2024/2024-08-19 星期一.md new file mode 100644 index 0000000..b811ac8 --- /dev/null +++ b/工作日志/2024/2024-08-19 星期一.md @@ -0,0 +1,7 @@ +本周计划: +一、海关AR +1. 口岸NTP接入到海关侧IVS及算法服务器 +二、中山港数据中台 +1. 开发者测试3个工作日 +2. 缺陷修复 +3. 对接罗克思数据服务模块 \ No newline at end of file diff --git a/工作日志/2024/2024-08-26 星期一.md b/工作日志/2024/2024-08-26 星期一.md new file mode 100644 index 0000000..9142678 --- /dev/null +++ b/工作日志/2024/2024-08-26 星期一.md @@ -0,0 +1,7 @@ +本周计划: +一、河口海关AR +1. 测试司机健康申报告警 +2. 测试核辐射告警 +3. 数据迁移至G100集群 +二、中山港数据中台 +1. 禅道BUG修复 \ No newline at end of file diff --git a/工作日志/2024/2024-08-27 星期二.md b/工作日志/2024/2024-08-27 星期二.md new file mode 100644 index 0000000..9c638da --- /dev/null +++ b/工作日志/2024/2024-08-27 星期二.md @@ -0,0 +1,5 @@ +计划: +一、河口海关AR + 1.数据迁移 +二、河口口岸AR + 1.测试3D地图点位调整情况及发版 \ No newline at end of file diff --git a/日常学习/中间件/kafka/触发Rebalance的原因.md b/日常学习/中间件/kafka/触发Rebalance的原因.md new file mode 100644 index 0000000..dba2324 --- /dev/null +++ b/日常学习/中间件/kafka/触发Rebalance的原因.md @@ -0,0 +1,9 @@ + +Rebalance 的触发条件有3个。 +1. 消费组成员个数发生变化。例如有新的Consumer实例加入或离开该消费组。 +2. 订阅的 Topic 个数发生变化。 +3. 订阅 Topic 的分区数发生变化。 + +Rebalance 发生时,Group 下所有Consumer 实例都会协调在一起共同参与,kafka 能够保证尽量达到最公平的分配。但是 Rebalance 过程对 consumer group 会造成比较严重的影响。在 Rebalance 的过程中 consumer group 下的所有消费者实例都会停止工作,等待 Rebalance 过程完成。 + +[【Kafka专栏 01】Rebalance漩涡:Kafka消费者如何避免Rebalance问题?_如何避免kafka rebalance-CSDN博客](https://blog.csdn.net/weixin_40736233/article/details/139427329) \ No newline at end of file