YoWuwuuuw commented on issue #6149: URL: https://github.com/apache/incubator-seata/issues/6149#issuecomment-2938315185
It seems Dubbo is only used when Nacos is introduced. All configuration items for third-party components are stored in a constant class. Write a unified utility class to use reflection to obtain all configuration item keys, and load the configurations from a user configuration file (Dubbo loads from a URL) into a java.util.Properties object. This Properties object will then be used to initialize the client for the component. 1. Ideally, this constant class should come from the component's dependencies, rather than being written by Seata itself. 2. I'm unsure if all third-party component initialization parameters accept a Properties object, so this part of the logic might not be able to be abstracted. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org