- Spring 5.0 By Example
- Claudio Eduardo de Oliveira
- 127字
- 2021-06-24 19:17:27
Spring Cloud Stream
The idea behind this module is to provide an easy way to build message-driven microservices. The module has an opinionated way of configuration. It means we need to follow some rules to create these configurations. In general, the application is configured by the yaml|properties file.
The module supports annotations as well. This means that a couple of annotations are enough to create consumers, producers, and bindings; it decouples the application and makes it easy to understand. It supplies some abstractions around the message brokers and channels, and it makes the developer's life more comfortable and productive as well.
Spring Cloud Stream has Binder implementations for RabbitMQ and Kafka.
Some common annotations are @EnableBinding, @Input, and @Output.
推薦閱讀
- WebAssembly實戰
- Power Up Your PowToon Studio Project
- Scala Design Patterns
- 數據庫系統原理及MySQL應用教程
- 面向STEM的Scratch創新課程
- 嚴密系統設計:方法、趨勢與挑戰
- Drupal 8 Module Development
- Instant Debian:Build a Web Server
- Scala Functional Programming Patterns
- JBoss AS 7 Development
- 絕密原型檔案:看看專業產品經理的原型是什么樣
- micro:bit軟件指南
- Cocos2D Game Development Essentials
- JavaScript實戰-JavaScript、jQuery、HTML5、Node.js實例大全(第2版)
- Mastering Docker(Second Edition)