- 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.
推薦閱讀
- 程序員面試筆試寶典(第3版)
- Instant Apache Stanbol
- Vue.js快速入門與深入實戰
- Learning SAP Analytics Cloud
- Getting Started with CreateJS
- 軟件測試項目實戰之性能測試篇
- 程序員考試案例梳理、真題透解與強化訓練
- Mastering C# Concurrency
- Python高效開發實戰:Django、Tornado、Flask、Twisted(第3版)
- Mastering JavaScript High Performance
- 硅谷Python工程師面試指南:數據結構、算法與系統設計
- 深度學習:Java語言實現
- 深入淺出Go語言編程
- Unity 2018 Augmented Reality Projects
- .NET 4.5 Parallel Extensions Cookbook