From 9bc1c3b9dab1db5fdf5d2b5a225cb69194458ada Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 2 Mar 2020 17:52:17 +0100 Subject: [PATCH] Put back producer property description --- docs/src/main/asciidoc/spring-cloud-stream.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-stream.adoc b/docs/src/main/asciidoc/spring-cloud-stream.adoc index f7c102165..d8d031736 100644 --- a/docs/src/main/asciidoc/spring-cloud-stream.adoc +++ b/docs/src/main/asciidoc/spring-cloud-stream.adoc @@ -2399,6 +2399,19 @@ See the consumer property `useNativeDecoding`. + Default: `false`. +useNativeEncoding:: +When set to `true`, the outbound message is serialized directly by the client library, which must be configured correspondingly (for example, setting an appropriate Kafka producer value serializer). +When this configuration is being used, the outbound message marshalling is not based on the `contentType` of the binding. +When native encoding is used, it is the responsibility of the consumer to use an appropriate decoder (for example, the Kafka consumer value de-serializer) to deserialize the inbound message. +Also, when native encoding and decoding is used, the `headerMode=embeddedHeaders` property is ignored and headers are not embedded in the message. +See the consumer property `useNativeDecoding`. ++ +Default: `false`. + +errorChannelEnabled:: +When set to true, if the binder supports asynchroous send results, send failures are sent to an error channel for the destination. See Error Handling for more information. ++ +Default: false. [[content-type-management]] == Content Type Negotiation