Spring Cloud Stream 2.0 - Polled Consumers
This is the second blog in a series of pre-release blogs in preparation for Spring Cloud Stream 2.0.0.RELEASE.
Preface
Spring Cloud Stream 2.0 introduces polled consumers, where the application can control message processing rates.
Introduction
Spring Cloud Stream has the concepts of producers and consumers; when using the messaging paradigm, MessageChannel
s are bound to destinations (e.g. Kafka topics, Rabbit Exchanges/Queues). To-date, on the consumer side, messages are delivered whenever an idle consumer is available. In effect, the broker controls the rate of delivery; usually, the next…