diff --git a/spring-cloud-alibaba-examples/integrated-example/config-init/config/integrated-consumer.yaml b/spring-cloud-alibaba-examples/integrated-example/config-init/config/integrated-consumer.yaml index 5de702b322..c0fb148860 100644 --- a/spring-cloud-alibaba-examples/integrated-example/config-init/config/integrated-consumer.yaml +++ b/spring-cloud-alibaba-examples/integrated-example/config-init/config/integrated-consumer.yaml @@ -1,10 +1,10 @@ spring: - datasource: - url: jdbc:mysql://integrated-mysql:3306/integrated_praise?useSSL=false&characterEncoding=utf8 cloud: stream: + function: + definition: consumer; bindings: - praise-input: + consumer-in-0: destination: PRAISE-TOPIC-01 content-type: application/json group: praise-consumer-group-PRAISE-TOPIC-01 @@ -12,7 +12,9 @@ spring: binder: name-server: rocketmq:9876 bindings: - praise-input: + consumer-in-0: consumer: pullInterval: 4000 - pullBatchSize: 4 \ No newline at end of file + pullBatchSize: 4 + datasource: + url: jdbc:mysql://integrated-mysql:3306/integrated_praise?useSSL=false&characterEncoding=utf8 \ No newline at end of file