From a1bd8929b639904a8d8245ac47b66919804fc799 Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Thu, 7 Jun 2018 15:32:06 -0400 Subject: [PATCH] partitioning demo README polishing --- partitioning-samples/README.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.