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

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. 
主站蜘蛛池模板: 共和县| 北海市| 申扎县| 唐河县| 四子王旗| 探索| 海原县| 泰来县| 德令哈市| 白朗县| 凤翔县| 应城市| 高淳县| 库伦旗| 宣化县| 宜章县| 太湖县| 五常市| 兴城市| 特克斯县| 朔州市| 宁南县| 金溪县| 博乐市| 东兴市| 锡林郭勒盟| 平江县| 涡阳县| 鸡西市| 罗田县| 安国市| 长治市| 灵璧县| 汤阴县| 龙川县| 中方县| 盐津县| 安平县| 于都县| 商水县| 汕尾市|