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

CoordinatedWorker enhancements #40

Open
sclasen opened this issue May 19, 2015 · 0 comments
Open

CoordinatedWorker enhancements #40

sclasen opened this issue May 19, 2015 · 0 comments

Comments

@sclasen
Copy link
Owner

sclasen commented May 19, 2015

CoordinatedWorkers usually need to be stateful, so the handler code should create one per task, rather than just one.

When a Coordinated worker starts up, there should be a callback that allows it to resume heartbeating any existing tasks.

func ResumeTasks() map[swf.ActivityTask]some.WorkerType{

}

which get massaged into their tasks being heartbeat started, and Tick loop being called.

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

1 participant