You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/09/09 02:40:31 UTC

[GitHub] [incubator-seatunnel] zhuangchong commented on pull request #2602: [Improvement][seatunnel-server] Improve the scheduler module to support more scheduling plugins

zhuangchong commented on PR #2602:
URL: https://github.com/apache/incubator-seatunnel/pull/2602#issuecomment-1241433459

   > Can you describe specifically what this PR does?
   
   Improve the scheduler module to support more scheduling plugins
   
   1. From the perspective of the code module structure, SeaTunnel is to support scheduler plug-in, and can support more scheduling plug-ins, such as dolphinscheduler, azkaban
   
   2. The current code does not really implement scheduler plug-in
   
   
   Configuration file:
   
   The key of the current property is ds.* . If azkaban scheduling is added, what should this key be?
   
   https://github.com/apache/incubator-seatunnel/pull/2602/files#diff-be5fe744bda2308d461ce12ee32f8cc115dac0682230814f2b96e6ee0f5ade27L29-R43
   
   
   Plugin implementation:
   
   At present, spring dependency injection is used. When adding a plug-in module, an interface has two implementation classes, and the project will report an error at this time.
   
   I introduced the ConditionalOnProperty annotation. According to the value of the configuration file seatunnel.scheduler.type, which implementation class should be injected into spring, only one implementation class will take effect in the project.
   
   https://github.com/apache/incubator-seatunnel/pull/2602/files#diff-b0fc519f508b3019a859edab06e94430b51bd2df0b7c8cd834076d97f07155efR32-R33


-- 
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@seatunnel.apache.org

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