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

Adding Executor plugin SPI #29

Closed
frsyuki opened this issue Jan 29, 2015 · 2 comments
Closed

Adding Executor plugin SPI #29

frsyuki opened this issue Jan 29, 2015 · 2 comments
Assignees

Comments

@frsyuki
Copy link
Contributor

frsyuki commented Jan 29, 2015

Embulk has only LocalExecutor but distributed execution is one of the main goals of Embulk.
To support various distributed execution environments, having pluggable & dynamically-loadable executor SPI is good.

@frsyuki
Copy link
Contributor Author

frsyuki commented Jan 30, 2015

maybe, SPI is like this:

  • interface ExecutorPlugin
    • ExecutorTransaction submit(ExecSession exec, final ConfigSource config)
  • interface ExecutorTransaction
    • void showProgress(Logger) // TODO is it ok to allow arbitrary log format?
    • void join() throws Xyz // TODO what's the exception classes?
    • NextConfig getNextConfig()

@frsyuki
Copy link
Contributor Author

frsyuki commented Apr 14, 2015

This is done. v0.6.0 includes Executor SPI.

@frsyuki frsyuki closed this as completed Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant