- 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.
推薦閱讀
- Vue.js設計與實現
- Beginning C++ Game Programming
- Learning Flask Framework
- ASP.NET Core 2 and Vue.js
- Python機器學習基礎教程
- Python High Performance Programming
- Python Machine Learning Blueprints:Intuitive data projects you can relate to
- 計算機應用技能實訓教程
- WildFly Cookbook
- SFML Game Development
- Getting Started with the Lazarus IDE
- Mastering Magento Theme Design
- Server Side development with Node.js and Koa.js Quick Start Guide
- ACE技術內幕:深入解析ACE架構設計與實現原理
- Go Programming Cookbook(Second Edition)