support for binding descriptors per channel name
This commit is contained in:
committed by
Mark Fisher
parent
70e1ff006c
commit
37204febe2
@@ -1,5 +1,6 @@
|
||||
spring:
|
||||
cloud:
|
||||
stream:
|
||||
inputChannelName: testtock
|
||||
bindings:
|
||||
input: testtock
|
||||
|
||||
@@ -2,5 +2,6 @@ fixedDelay: 5000
|
||||
spring:
|
||||
cloud:
|
||||
stream:
|
||||
outputChannelName: testtock
|
||||
bindings:
|
||||
output: testtock
|
||||
|
||||
@@ -3,9 +3,10 @@ server:
|
||||
spring:
|
||||
cloud:
|
||||
stream:
|
||||
inputChannelName: testtock
|
||||
# uncomment below to have this module consume from a specific partition
|
||||
# in the range of 0 to N-1, where N is the upstream module's partitionCount
|
||||
#consumerProperties:
|
||||
# partitionIndex: 1
|
||||
bindings:
|
||||
input: testtock
|
||||
# uncomment below to have this module consume from a specific partition
|
||||
# in the range of 0 to N-1, where N is the upstream module's partitionCount
|
||||
#consumerProperties:
|
||||
# partitionIndex: 1
|
||||
|
||||
@@ -4,17 +4,19 @@ fixedDelay: 5000
|
||||
spring:
|
||||
cloud:
|
||||
stream:
|
||||
outputChannelName: testtock
|
||||
# uncomment below to use the last digit of the seconds as a partition key
|
||||
# hashcode(key) % N is then applied with N being the partitionCount value
|
||||
# thus, even seconds should go to the 0 queue, odd seconds to the 1 queue
|
||||
#producerProperties:
|
||||
# partitionKeyExpression: payload.charAt(payload.length()-1)
|
||||
# partitionCount: 2
|
||||
bindings:
|
||||
output: testtock
|
||||
# uncomment below to use the last digit of the seconds as a partition key
|
||||
# hashcode(key) % N is then applied with N being the partitionCount value
|
||||
# thus, even seconds should go to the 0 queue, odd seconds to the 1 queue
|
||||
#producerProperties:
|
||||
# partitionKeyExpression: payload.charAt(payload.length()-1)
|
||||
# partitionCount: 2
|
||||
|
||||
---
|
||||
spring:
|
||||
profiles: extended
|
||||
cloud:
|
||||
stream:
|
||||
outputChannelName: xformed
|
||||
bindings:
|
||||
output: xformed
|
||||
|
||||
@@ -3,6 +3,7 @@ server:
|
||||
spring:
|
||||
cloud:
|
||||
stream:
|
||||
outputChannelName: xformed
|
||||
inputChannelName: testtock
|
||||
bindings:
|
||||
output: xformed
|
||||
input: testtock
|
||||
|
||||
Reference in New Issue
Block a user