The consumer

The following list of properties is available for input bindings only, and must be prefixed with spring.cloud.stream.bindings.<channelName>.consumer. I'll indicate just the most important of them:

Name Default value Description
concurrency 1 Number of consumers per single input channel
partitioned false It enables receiving data from a partitioned producer
headerMode embeddedHeaders If it is set to rawheader parsing on input is disabled
maxAttempts 3 Number of retries if message processing fails. Setting this option to 1 disables the retry mechanism

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.