- 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.
推薦閱讀
- MySQL 8從入門到精通(視頻教學(xué)版)
- MySQL數(shù)據(jù)庫(kù)應(yīng)用與管理 第2版
- Java入門很輕松(微課超值版)
- 算法訓(xùn)練營(yíng):提高篇(全彩版)
- Haxe Game Development Essentials
- Learning Python Design Patterns
- Learning FuelPHP for Effective PHP Development
- 一塊面包板玩轉(zhuǎn)Arduino編程
- Julia 1.0 Programming Complete Reference Guide
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計(jì)原理(第2版)
- Extending Unity with Editor Scripting
- Spring Boot從入門到實(shí)戰(zhàn)
- C語(yǔ)言程序設(shè)計(jì)教程
- Three.js Essentials
- HTML 5與CSS 3權(quán)威指南(第4版·上冊(cè))