- 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.
推薦閱讀
- WildFly:New Features
- 騰訊iOS測試實踐
- SpringMVC+MyBatis快速開發與項目實戰
- Visual Basic 6.0程序設計計算機組裝與維修
- Practical Windows Forensics
- 差分進化算法及其高維多目標優化應用
- 嚴密系統設計:方法、趨勢與挑戰
- INSTANT Passbook App Development for iOS How-to
- Nginx實戰:基于Lua語言的配置、開發與架構詳解
- Python 3 數據分析與機器學習實戰
- Sitecore Cookbook for Developers
- 從零開始學算法:基于Python
- Java EE輕量級解決方案:S2SH
- Neo4j權威指南 (圖數據庫技術叢書)
- Test-Driven Java Development(Second Edition)