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

optimize: support the nacos application name property #5783

Merged
merged 4 commits into from
Aug 29, 2023

Conversation

hadoop835
Copy link
Contributor

…, the client will subscribe to the Seata server and the application name will be unknown #4448

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

…, the client will subscribe to the Seata server and the application name will be unknown apache#4448
…, the client will subscribe to the Seata server and the application name will be unknown apache#4448
@@ -79,6 +79,7 @@ seata:
username:
password:
context-path:
client-application: ${spring.application.name}
Copy link
Contributor

Choose a reason for hiding this comment

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

这个配置应该是只有client用吧,我理解错了

Copy link
Contributor Author

Choose a reason for hiding this comment

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

这个配置应该是只有client用吧,我理解错了

我修改一下,提交

@@ -129,6 +129,7 @@ seata.registry.nacos.namespace=
seata.registry.nacos.username=
seata.registry.nacos.password=
seata.registry.nacos.contextPath=
seata.registry.nacos.clientApplication=${spring.application.name}
Copy link
Contributor

Choose a reason for hiding this comment

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

client增加这个配置后,应该是不影响服务发现的吧,只是订阅者的一个身份登记?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

client增加这个配置后,应该是不影响服务发现的吧,只是订阅者的一个身份登记?

不影响,只是订阅者的一个身份登记

…, the client will subscribe to the Seata server and the application name will be unknown apache#4448
Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

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

@slievrly slievrly merged commit f3cc608 into apache:2.x Aug 29, 2023
@slievrly slievrly changed the title optimize:When the Seata client and server adopt Nacos as the registry… optimize: support the nacos application name property Aug 29, 2023
slievrly pushed a commit to slievrly/fescar that referenced this pull request Aug 30, 2023
@wangliang181230 wangliang181230 added this to the 2.0.0 milestone Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants