Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improve][Manager] Enable Manager to use multiple scheduling engines simultaneously #11533

Closed
2 tasks done
Zkplo opened this issue Nov 22, 2024 · 0 comments · Fixed by #11534
Closed
2 tasks done

[Improve][Manager] Enable Manager to use multiple scheduling engines simultaneously #11533

Zkplo opened this issue Nov 22, 2024 · 0 comments · Fixed by #11534
Assignees
Milestone

Comments

@Zkplo
Copy link
Contributor

Zkplo commented Nov 22, 2024

Description

org.apache.inlong.manager.service.schedule.ScheduleOperatorImpl

private ScheduleEngineClient getScheduleEngineClient(String scheduleEngine) {
    if (scheduleEngineClient == null) {
        scheduleEngineClient = scheduleClientFactory.getInstance(scheduleEngine);
    }
    return scheduleEngineClient;
}

At present, the single instance mode is adopted. When a user selects any scheduling engine from the front-end to issue offline tasks, the subsequent selection of the scheduling engine will follow the first one, and there is a possibility of scheduling engine selection failure.In order to support multiple scheduling engines, it is necessary to modify the code logic here.

InLong Component

InLong Manager

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants