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

Provide a sample boot application that provides a enhanced scheduling for SCDF #204

Open
cppwfs opened this issue Oct 15, 2024 · 1 comment

Comments

@cppwfs
Copy link
Contributor

cppwfs commented Oct 15, 2024

SCDF provides cron expression for scheduling the launching of tasks. However, users sometimes need more advanced scheduling for launching their tasks. In these cases they can use enterprise level schedulers or something like quartz to schedule these task launches using dataflow via its RESTful API.
Provide a sample Spring Boot application that utilzes Quartz to demonstrate this capability.

@injae-kim
Copy link

injae-kim commented Oct 23, 2024

public void schedule() // SCDF schedule API
  launcher.getScheduler().schedule(scheduleRequest);
}

I think SCDF schedule API internally uses each platform(e.g. k8s)'s scheduler to schedule task.

they can use enterprise level schedulers or something like quartz to schedule these task launches using dataflow via its RESTful API.

Can you share simple example code to implement above way?
(Replace launcher.getScheduler() to quartz?)

Thanks @cppwfs ! If you busy I think I can make PR too :)

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

No branches or pull requests

2 participants