Spring Cloud Stream: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
=Overview=
=Overview=


Spring Cloud Stream is a framework for building highly scalable event-driven microservices connected with shared messaging systems. Spring applications use Spring Cloud Stream libraries to bind to a messaging middleware.
Spring Cloud Stream is a framework for building highly scalable event-driven microservices connected with shared messaging systems. Spring applications use Spring Cloud Stream libraries to bind to a messaging middleware. Spring Cloud Stream builds upon [[Spring Boot]] to create standalone production-grade applications and uses [[Spring Integration]] to provide connectivity to message brokers.


=Concepts=
=Concepts=

Revision as of 20:43, 23 October 2018

External

Internal

Overview

Spring Cloud Stream is a framework for building highly scalable event-driven microservices connected with shared messaging systems. Spring applications use Spring Cloud Stream libraries to bind to a messaging middleware. Spring Cloud Stream builds upon Spring Boot to create standalone production-grade applications and uses Spring Integration to provide connectivity to message brokers.

Concepts

Destination Binder

The component responsible to provide integration with external messaging systems. Available binders:

Destination Binding

Bridge between the external messaging system and application-provided Producers and Consumers of messages. The Producers and Consumers are created by the Destination Binders.

Sink Binding

Input and no output.

Destination

The destination can be a queue, topic, or others.

Message

The canonical data structure used by Producers and Consumers to communicate with Destination Binders, and thus other applications via external messaging systems.

Message Handler

Is this the same thing as the handler method?

@StreamListener(Sink.INPUT)
public void handle(...) {
...
}

Also see @StreamListener.

Annotations