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

事件驱动触发作业 #178

Closed
terrymanu opened this issue Nov 23, 2016 · 0 comments
Closed

事件驱动触发作业 #178

terrymanu opened this issue Nov 23, 2016 · 0 comments

Comments

@terrymanu
Copy link
Member

terrymanu commented Nov 23, 2016

增加作业以事件触发而非仅仅由时间调度触发的支持。

lite版本原本就支持,只是没提供rest API,未来将会完善lite版本的rest api,lite api请参见com.dangdang.ddframe.job.lite.lifecycle.api.JobOperateAPI的trigger方法。

cloud版本已经提供rest api,请参考cloud版本的部署文档。示例:
curl -l -H "Content-type: application/json" -X POST -d 'foo_job' http://elastic_job_cloud_host:8899/job/trigger

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

No branches or pull requests

1 participant