From 460bb140f2c1af83724300af532f974090e14d25 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Thu, 16 Jul 2015 18:38:37 -0400 Subject: [PATCH] fixed source/sink samples' input/output properties --- .../sink/src/main/resources/application.yml | 2 +- .../source/src/main/resources/application.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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