-
Notifications
You must be signed in to change notification settings - Fork 31
javayh heartbeat starter 说明
haiji.yang edited this page May 6, 2020
·
1 revision
<?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">
<parent>
<artifactId>javayh-demo</artifactId>
<groupId>com.javayh</groupId>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>javayh-demo-mail</artifactId>
<dependencies>
<dependency>
<groupId>com.javayh</groupId>
<artifactId>javayh-heartbeat-starter</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>
需要在被监听的客户端进行配置
heartbeat:
server:
host: 127.0.0.1
port: 8001
channel-id: 100
- 启动javayh-heartbeat-server
- 启动需要监听的服务
- 监听
关注 Java有货领取更多资料
联系小编。微信:372787553,带您进群互相学习
左侧小编微信,右侧获取免费资料
- SpringCloud 自定义封装架构https://github.com/Dylan-haiji/javayh-platform
- Java 设计模式学习代码 https://github.com/Dylan-haiji/design-pattern
- SpringCloud学习代码: https://github.com/Dylan-haiji/javayh-cloud
- AlibabaCloud学习代码:https://github.com/Dylan-haiji/javayh-cloud-nacos
- SpringBoot+Mybatis 多数据源切换:https://github.com/Dylan-haiji/javayh-boot-data-soure
- Redis、Mongo、Rabbitmq、Kafka学习代码: https://github.com/Dylan-haiji/javayh-middleware
- SpringBoot+SpringSecurity实现自定义登录学习代码:https://github.com/Dylan-haiji/javayh-distribution