From 2171710fa76777ace637757101842aa9f742f18f Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Wed, 25 Sep 2019 09:52:51 -0400 Subject: [PATCH] Add docs for 'partitionKeyExtractorName' and 'partitionSelectorName' --- 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 7ee856731..91ddf13e2 100644 --- a/docs/src/main/asciidoc/spring-cloud-stream.adoc +++ b/docs/src/main/asciidoc/spring-cloud-stream.adoc @@ -1562,6 +1562,19 @@ Mutually exclusive with `partitionSelectorClass`. If neither is set, the partition is selected as the `hashCode(key) % partitionCount`, where `key` is computed through either `partitionKeyExpression` or `partitionKeyExtractorClass`. + Default: `null`. + +partitionKeyExtractorName:: +The name of the bean that implements `PartitionKeyExtractorStrategy`. Used to extract a key used to compute +the partition id (see 'partitionSelector*'). Mutually exclusive with 'partitionKeyExpression'. ++ +Default: null. + +partitionSelectorName:: +The name of the bean that implements `PartitionSelectorStrategy`. Used to determine partition id based +on partition key (see 'partitionKeyExtractor*'). Mutually exclusive with 'partitionSelectorExpression'. ++ +Default: null. + partitionCount:: The number of target partitions for the data, if partitioning is enabled. Must be set to a value greater than 1 if the producer is partitioned.