mirror of
https://github.com/wahyd4/spring-cloud-stream-samples.git
synced 2026-08-09 05:16:18 +10:00
jdbc source sample cleanup
This commit is contained in:
@@ -10,4 +10,6 @@ jdbc:
|
||||
spring.cloud.stream.bindings.output.destination: test-data
|
||||
spring.cloud.stream.bindings.input.destination: test-data
|
||||
|
||||
spring.cloud.stream.default.producer.partitionKeyExpression: '#{0}'
|
||||
#always use partition 0, but using a complex SpeL below to test the fix for this issue:
|
||||
#https://github.com/spring-cloud/spring-cloud-stream/issues/1297
|
||||
spring.cloud.stream.default.producer.partitionkeyexpression: "payload != null ? 0 : 1"
|
||||
Reference in New Issue
Block a user