diff --git a/spring-cloud-stream-samples/sink/src/main/resources/application.yml b/spring-cloud-stream-samples/sink/src/main/resources/application.yml index d4d0437d9..940f92d5f 100644 --- a/spring-cloud-stream-samples/sink/src/main/resources/application.yml +++ b/spring-cloud-stream-samples/sink/src/main/resources/application.yml @@ -3,7 +3,7 @@ server: spring: cloud: channels: - outputChannelName: testtock + 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: diff --git a/spring-cloud-stream-samples/source/src/main/resources/application.yml b/spring-cloud-stream-samples/source/src/main/resources/application.yml index 841c5b3e4..342e7cde2 100644 --- a/spring-cloud-stream-samples/source/src/main/resources/application.yml +++ b/spring-cloud-stream-samples/source/src/main/resources/application.yml @@ -4,7 +4,7 @@ fixedDelay: 5000 spring: cloud: channels: - inputChannelName: testtock + 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 @@ -17,4 +17,4 @@ spring: profiles: extended cloud: channels: - inputChannelName: xformed + outputChannelName: xformed