yu199195 commented on code in PR #4060:
URL: https://github.com/apache/shenyu/pull/4060#discussion_r990886887
##########
shenyu-spring-boot-starter/shenyu-spring-boot-starter-instance/src/main/java/org/apache/shenyu/springboot/starter/instance/ShenyuInstanceConfiguration.java:
##########
@@ -39,4 +41,19 @@ public class ShenyuInstanceConfiguration {
public InstanceRegisterListener instanceRegisterListener(final
ShenyuConfig config) {
return new InstanceRegisterListener(config.getInstance());
}
+
+ /**
+ * ShenYu Instance Register Repository.
+ * expose to shenYu-sdk.
+ *
+ * @param config the config
+ * @return ShenYu Instance Register Repository
+ */
+ @Bean
+ @ConditionalOnProperty(name = "shenyu.instance.clientEnable", havingValue
= "true")
Review Comment:
whats mean?
ShenyuInstanceRegisterRepository already init in InstanceRegisterListener
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]