diff --git a/partitioning-samples/README.adoc b/partitioning-samples/README.adoc index ee7ddf0..80dfc22 100644 --- a/partitioning-samples/README.adoc +++ b/partitioning-samples/README.adoc @@ -6,7 +6,8 @@ This is a collection of applications that demonstrates how partitioning works in ## Quick introduction The producer used in the sample produces messages with text that has a length of 1, 2, 3 or 4. -There is a configuration in the producer's application.yml file for `partition-key-expression` that uses the length of the payload minus 1 as the partition to use. +There is a configuration in the producer's application.yml file for `partition-key-expression` that uses the length of the payload minus 1 as the partition key expression to use. +This value will be used by the binder for selecting the correct partition based on the total number of partitions configured on the destination at the broker. We use 4 partitions for this demo. There is a common producer module called partitioning-producer and then there is a consumer for kafka and rabbit - partitioning-consumer-kafka and partitioning-consumer-rabbit respectively.