Spring Cloud Stream Reference Guide

Sabby Anandan, Marius Bogoevici, Eric Bottard, Mark Fisher, Ilayaperumal Gopinathan, Gunnar Hillert, Mark Pollack, Patrick Peralta, Glenn Renfro, Thomas Risberg, Dave Syer, David Turanski, Janne Valkealahti, Benjamin Klein

1.0.0.RC2

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.


Table of Contents

I. Reference Guide
II. Spring Cloud Stream Reference Manual
1. Introducing Spring Cloud Stream
2. Main Concepts
2.1. Application Model
2.1.1. Fat JAR
2.2. The Binder Abstraction
2.3. Persistent Publish-Subscribe Support
2.4. Consumer Groups
2.4.1. Durability
2.5. Partitioning Support
3. Programming Model
3.1. Declaring and Binding Channels
3.1.1. Triggering Binding Via @EnableBinding
3.1.2. @Input and @Output
Customizing Channel Names
Source, Sink, and Processor
3.1.3. Accessing Bound Channels
Injecting the Bound Interfaces
Injecting Channels Directly
3.1.4. Producing and Consuming Messages
Native Spring Integration Support
Using @StreamListener for Automatic Content Type Handling
3.2. Binder SPI
3.2.1. Producers and Consumers
3.2.2. Kafka Binder
3.2.3. RabbitMQ Binder
4. Configuration Options
4.1. Spring Cloud Stream Properties
4.2. Binding Properties
4.2.1. Properties for Use of Spring Cloud Stream
4.2.2. Consumer properties
4.2.3. Producer Properties
5. Binder-Specific Configuration
5.1. Rabbit-Specific Settings
5.1.1. RabbitMQ Binder Properties
5.1.2. RabbitMQ Consumer Properties
5.1.3. Rabbit Producer Properties
5.2. Kafka-Specific Settings
5.2.1. Kafka Binder Properties
5.2.2. Kafka Consumer Properties
5.2.3. Kafka Producer Properties
6. Binder Detection
6.1. Classpath Detection
6.2. Multiple Binders on the Classpath
6.3. Connecting to Multiple Systems
7. Content Type and Transformation
8. Inter-Application Communication
8.1. Connecting Multiple Application Instances
8.2. Instance Index and Instance Count
8.3. Partitioning
8.3.1. Configuring Output Bindings for Partitioning
Configuring Input Bindings for Partitioning
9. Testing
10. Health Indicator
11. Samples
12. Getting Started