Allow instanceIndex and instanceCount to be set per binding

Fixes #654
This commit is contained in:
Marius Bogoevici
2016-09-19 17:18:28 -04:00
committed by Gary Russell
parent d5e374651e
commit d11b3cf08d
3 changed files with 19 additions and 4 deletions

View File

@@ -947,6 +947,16 @@ backOffMultiplier::
The backoff multiplier.
+
Default: `2.0`.
instanceIndex::
When set to a value greater than equal to zero, allows customizing the instance index of this consumer (if different from `spring.cloud.stream.instanceIndex`).
When set to a negative value, it will default to `spring.cloud.stream.instanceIndex`.
+
Default: `-1`.
instanceCount::
When set to a value greater than equal to zero, allows customizing the instance count of this consumer (if different from `spring.cloud.stream.instanceCount`).
When set to a negative value, it will default to `spring.cloud.stream.instanceCount`.
+
Default: `-1`.
==== Producer Properties