You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/30 10:33:21 UTC
[GitHub] [dolphinscheduler] huagetai commented on issue #9283: [Feature][worker] make workers completely independent of the database
huagetai commented on issue #9283:
URL: https://github.com/apache/dolphinscheduler/issues/9283#issuecomment-1082916537
@zhuangchong
ATM:
```java
public class TaskExecuteThread implements Runnable, Delayed {
...
@Override
public void run() {
...
TaskChannel taskChannel = taskPluginManager.getTaskChannelMap().get(taskExecutionContext.getTaskType());
...
}
}
@Component
public class TaskPluginManager {
....
private final PluginDao pluginDao;
....
}
```
In addition, due to the dependence on the dolphinscheduler-service package, spring will automatically inject the datasource
<img width="1529" alt="截屏2022-03-30 下午6 32 32" src="https://user-images.githubusercontent.com/1137341/160812071-c6a893dd-2eb3-42cd-9c84-7d11b6556aaa.png">
--
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