官术网_书友最值得收藏!

  • Spring 5.0 By Example
  • Claudio Eduardo de Oliveira
  • 119字
  • 2021-06-24 19:17:27

Spring Cloud Bus

The main goal of this project is to provide an easy way to broadcast changes spread throughout the cluster. The applications can connect the distributed system nodes through the message broker.

It provides an easy way for developers to create a publish and subscribe mechanism using the ApplicationContext provided by Spring Container. It enables the possibility to create applications using the event-driven architecture style with the Spring Ecosystem.

To create custom events, we need to create a child class from RemoteApplicationEvent and mark the class to be scanned via @RemoteApplicationEventScan.

The projects support three message brokers as the transport layer:

  • AMQP
  • Apache Kafka
  • Redis
@RemoteApplicationEventScan is a common annotation. 
主站蜘蛛池模板: 马龙县| 中西区| 诸城市| 田林县| 佛教| 平泉县| 通化市| 安徽省| 四平市| 德令哈市| 常宁市| 福海县| 乐安县| 阿拉善左旗| 龙游县| 永胜县| 桃源县| 英超| 磴口县| 阿图什市| 茌平县| 廊坊市| 肇东市| 汝城县| 宝清县| 雅江县| 九龙坡区| 资阳市| 黔南| 黄大仙区| 麻城市| 吴江市| 广河县| 油尖旺区| 南靖县| 巴林左旗| 钦州市| 罗甸县| 绥化市| 醴陵市| 贵德县|