-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Seata Client should allow dynamic monitoring of changes in service.default.grouplist
#7039
Comments
Do you mean that during runtime, there could be multiple TMs or RMs performing different initializations? Regarding transaction groups, we don't dynamically listen because we believe that at the application level, there is only one RM or TM running. As long as the RM client is registered, regardless of how many resources it has internally, the Seata server can issue the second-phase instructions through the corresponding channel. Therefore, it seems that there is no scenario where related listening is needed. |
Right. Or another possibility is, is there any way for me to completely shut down Seata Client so that it can be reinitialized? It seems that Seata Client starts multiple uncontrolled timing java methods internally. |
You can try using this code |
|
Yes, you can close this issue. |
Why you need it?
Is your feature request related to a problem? Please describe in details
service.default.grouplist
of Seata Client by setting the System Properties.SDKMAN!
andDocker CE
.The core logic is as follows:
extracted("jdbc:tc:postgresql:17.1-bookworm://test/demo_ds_0?TC_INITSCRIPT=init.sql")
will succeed because the setting of the System Propertiesservice.default.grouplist
is successfully listened to. Butextracted("jdbc:tc:postgresql:17.1-bookworm://test/demo_ds_1?TC_INITSCRIPT=init.sql")
will fail because updates to the System Propertiesservice.default.grouplist
are not being watched.How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
service.default.grouplist
.Other related information
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: