qingwli commented on code in PR #14369:
URL: 
https://github.com/apache/dolphinscheduler/pull/14369#discussion_r1234654639


##########
dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/JdbcRegistryConfiguration.java:
##########
@@ -35,6 +35,7 @@
 public class JdbcRegistryConfiguration {
 
     @Bean
+    @ConditionalOnProperty(prefix = "registry", name = "separate-datasource", 
havingValue = "true")

Review Comment:
   Yeah,  That's more simple. 
   For the user, if they want to use jdbc registry, they need to define just 
like:
   ```yaml
   registry:
     type: jdbc
   ```
   



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