laywin commented on issue #6249: URL: https://github.com/apache/incubator-seata/issues/6249#issuecomment-1898796703
i try to find some solutions in spring, like : https://github.com/spring-cloud/spring-cloud-sleuth/issues/1508 , there are basically three solutions: 1. mark @lazy on dependency 2. injection beanFactory, dynamic get bean to use when needed. 3. mark the depend bean as @Role(BeanDefinition.ROLE_INFRASTRUCTURE). in our case, globalTransactionScanner depend many properties, main do init client & generate proxy. does anyone have good idea to fix the issue. -- 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