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

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. 
主站蜘蛛池模板: 罗定市| 黄冈市| 永胜县| 固原市| 安阳市| 炎陵县| 宜川县| 阿合奇县| 阿瓦提县| 昔阳县| 东宁县| 乳山市| 九寨沟县| 囊谦县| 景泰县| 清流县| 上杭县| 宜黄县| 上高县| 庆安县| 吉林省| 兴安盟| 阿坝| 都昌县| 邢台市| 会宁县| 梁山县| 沂源县| 晋州市| 莎车县| 衡阳市| 环江| 陆丰市| 太原市| 梓潼县| 铁岭县| 百色市| 大洼县| 惠安县| 长武县| 赤峰市|