From 0d339e77b8960042da18c1ae5c20d18408c15d83 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Fri, 2 Aug 2019 09:30:36 -0400 Subject: [PATCH] GH-683: Update docs --- docs/src/main/asciidoc/overview.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/overview.adoc b/docs/src/main/asciidoc/overview.adoc index e207522fe..20219f6b3 100644 --- a/docs/src/main/asciidoc/overview.adoc +++ b/docs/src/main/asciidoc/overview.adoc @@ -297,7 +297,8 @@ How long the producer waits to allow more messages to accumulate in the same bat Default: `0`. messageKeyExpression:: A SpEL expression evaluated against the outgoing message used to populate the key of the produced Kafka message -- for example, `headers['myKey']`. -The payload cannot be used because, by the time this expression is evaluated, the payload is already in the form of a `byte[]`. +With versions before 3.0, the payload could not be used unless native encoding was being used because, by the time this expression was evaluated, the payload was already in the form of a `byte[]`. +Now, the expression is evaluated before the payload is converted. + Default: `none`. headerPatterns::