You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "qingwli (via GitHub)" <gi...@apache.org> on 2023/06/16 08:16:05 UTC

[GitHub] [dolphinscheduler] qingwli commented on pull request #14369: [Improvement][Registry][Jdbc] Add option can use ds database directly

qingwli commented on PR #14369:
URL: https://github.com/apache/dolphinscheduler/pull/14369#issuecomment-1594296190

   If we don't create this bean https://github.com/apache/dolphinscheduler/blob/f840b17cfbb4c03fd5a4bbc1f0ca71db68edd5ae/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/JdbcRegistryConfiguration.java#L37-L42
   
   This method will use SqlSessionFactory  created in dao module 
   https://github.com/apache/dolphinscheduler/blob/f840b17cfbb4c03fd5a4bbc1f0ca71db68edd5ae/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/JdbcRegistryConfiguration.java#L44-L49
   
   https://github.com/apache/dolphinscheduler/blob/f840b17cfbb4c03fd5a4bbc1f0ca71db68edd5ae/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/datasource/SpringConnectionFactory.java#L68-L89


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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