Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“Test cases cannot achieve project readme functionality”Problem Solvi… #3430

Open
wants to merge 1 commit into
base: 2022.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
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
rocketmq:
binder:
name-server: rocketmq:9876
bindings:
praise-input:
consumer-in-0:
consumer:
pullInterval: 4000
pullBatchSize: 4
pullBatchSize: 4
datasource:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to keep as few changes as possible, this part seems unnecessary to modify.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part of the change should be necessary, because the content of the Nacos configuration file after initialization was inconsistent with the content of the configuration file when it was not changed before. However, once the position is replaced, the content will be consistent after execution. I don't know why this is the case, but it can solve the problem. You can try it out

url: jdbc:mysql://integrated-mysql:3306/integrated_praise?useSSL=false&characterEncoding=utf8
Loading