[+] 添加集群配置

This commit is contained in:
acgist
2023-01-15 20:05:22 +08:00
parent fed00218fb
commit 03f34ca888
7 changed files with 102 additions and 6 deletions

6
taoyao-node/README.md Normal file
View File

@@ -0,0 +1,6 @@
# 集群
## 实现逻辑
1. 集群启动时加载所有节点,同步节点信息,定时监测节点状态。
2. 设备注册同步设备信息到直连节点,其他信令处理完成以后在发送设备时分发。

22
taoyao-node/pom.xml Normal file
View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.acgist</groupId>
<artifactId>taoyao</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>taoyao-node</artifactId>
<packaging>jar</packaging>
<name>taoyao-node</name>
<description>集群服务:集群服务</description>
<dependencies>
</dependencies>
</project>