The producer

The following binding properties are available for output bindings only, and must be prefixed with spring.cloud.stream.bindings.<channelName>.producer. I'll also indicate only the most important of them:

Name Default value Description
requiredGroups - A comma-separated list of groups that must be created on the message broker
headerMode embeddedHeaders If it is set to rawheader parsing on input is disabled
useNativeEncoding false If it is set to truethe outbound message is serialized directly by the client library
errorChannelEnabled false If it is set to true, failure messages are sent to the error channel for the destination

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.