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

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. 
主站蜘蛛池模板: 兴海县| 宁国市| 临泽县| 车致| 衡南县| 凤山市| 海口市| 新蔡县| 瓮安县| 重庆市| 宝山区| 安塞县| 舞阳县| 灵山县| 闽清县| 长兴县| 黑河市| 静海县| 青神县| 浮梁县| 武乡县| 黄石市| 五莲县| 措勤县| 吴忠市| 南陵县| 天峨县| 酒泉市| 灵宝市| 临潭县| 孝感市| 淮阳县| 水城县| 柞水县| 承德市| 方正县| 确山县| 安多县| 云和县| 双鸭山市| 阿拉善盟|