jdbc source sample cleanup

This commit is contained in:
Soby Chacko
2018-03-12 14:00:42 -04:00
parent 575c19fe2e
commit 7c3b457f62
@@ -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"