- 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.
推薦閱讀
- MongoDB for Java Developers
- PLC編程及應用實戰
- PhpStorm Cookbook
- BIM概論及Revit精講
- C#實踐教程(第2版)
- Babylon.js Essentials
- Visual Basic程序設計習題與上機實踐
- 精通MySQL 8(視頻教學版)
- Secret Recipes of the Python Ninja
- Spring Data JPA從入門到精通
- SQL Server實例教程(2008版)
- 3D Printing Designs:The Sun Puzzle
- Android應用程序設計
- Java Web入門很輕松(微課超值版)
- Azure for Architects