You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "noear (via GitHub)" <gi...@apache.org> on 2024/10/28 15:19:03 UTC

[I] 【问题】ConfigurationFactory 加载的打印信息有问题 [incubator-seata]

noear opened a new issue, #6956:
URL: https://github.com/apache/incubator-seata/issues/6956

   "org.apache.seata.config.ConfigurationFactory" load 方法
   
   ```java
   extConfiguration = EnhancedServiceLoader.load(ExtConfigurationProvider.class).provide(configuration);
   if (LOGGER.isInfoEnabled()) {
       LOGGER.info("load Configuration from :{}",
           extConfiguration == null ? configuration.getClass().getSimpleName() : "Spring Configuration");
   }
   ```
   
   当 java spi 加载 ExtConfigurationProvider 会打印:"Spring Configuration"。。。
   
   改为 extConfiguration.getClass().getSimpleName() 更合理。
   
   ---
   
   比如,我在适配 seata-solon-plugin ,java spi 配置的是 SolonConfigurationProvider,但是被打印成了 spring...
   
   


-- 
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-unsubscribe@seata.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] 【问题】ConfigurationFactory 加载的打印信息有问题 [incubator-seata]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #6956:
URL: https://github.com/apache/incubator-seata/issues/6956#issuecomment-2556353026

   Fixed by https://github.com/apache/incubator-seata/pull/7040 ?


-- 
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-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] 【问题】ConfigurationFactory 加载的打印信息有问题 [incubator-seata]

Posted by "noear (via GitHub)" <gi...@apache.org>.
noear commented on issue #6956:
URL: https://github.com/apache/incubator-seata/issues/6956#issuecomment-2441920416

   适配两个(或以上)类似 spring 的框架。对解耦会有更好的帮助。
   
   比如适配 solon,就发现一些潜藏的问题


-- 
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-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] 【问题】ConfigurationFactory 加载的打印信息有问题 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #6956:
URL: https://github.com/apache/incubator-seata/issues/6956#issuecomment-2445698386

   这个问题可以提个pr来修改为中性含义的描述
   This question can be changed to a description with neutral meaning by asking a pr.


-- 
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-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] 【问题】ConfigurationFactory 加载的打印信息有问题 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes closed issue #6956: 【问题】ConfigurationFactory 加载的打印信息有问题
URL: https://github.com/apache/incubator-seata/issues/6956


-- 
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-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org