dragon-zhang commented on code in PR #3851:
URL: https://github.com/apache/shenyu/pull/3851#discussion_r945808265


##########
shenyu-spring-boot-starter/shenyu-spring-boot-starter-client/shenyu-spring-boot-starter-client-motan/src/main/java/org/apache/shenyu/springboot/starter/client/motan/ShenyuMotanClientConfiguration.java:
##########
@@ -46,4 +57,78 @@ public class ShenyuMotanClientConfiguration {
     public MotanServiceEventListener motanServiceEventListener(final 
ShenyuClientConfig clientConfig, final ShenyuClientRegisterRepository 
shenyuClientRegisterRepository) {
         return new 
MotanServiceEventListener(clientConfig.getClient().get(RpcTypeEnum.MOTAN.getName()),
 shenyuClientRegisterRepository);
     }
+
+    /**
+     * motan registry.
+     *
+     * @return registryProperties
+     */
+    @Bean
+    @ConfigurationProperties(prefix = "motan.registry")
+    public RegistryProperties registryProperties() {
+        return new RegistryProperties();
+    }

Review Comment:
   why not rename `RegistryProperties` to `RegistryConfig`?



-- 
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]

Reply via email to