GH-1809 Add docs for 'partitionKeyExtractorName' and 'partitionSelectorName'

Resolves #1809
This commit is contained in:
Oleg Zhurakousky
2019-09-25 09:47:00 -04:00
parent 3464f9c1e1
commit 8cf1dae6e8

View File

@@ -1713,6 +1713,20 @@ If set, outbound data on this channel is partitioned. `partitionCount` must be s
See `<<partitioning>>`.
+
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.
partitionSelectorExpression::
A SpEL expression for customizing partition selection.
If neither is set, the partition is selected as the `hashCode(key) % partitionCount`, where `key` is computed through either `partitionKeyExpression`.