Add vanilla-samples
The aim is that these will converge over time with the XD samples
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
---
|
||||
spring:
|
||||
bus:
|
||||
group: testtock
|
||||
name: ticker
|
||||
# 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
|
||||
cloud:
|
||||
channels:
|
||||
group: testtock
|
||||
name: ticker
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user