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

WorkerName is hardcoded in sfn handler #4

Open
dremonkey opened this issue Sep 27, 2017 · 0 comments
Open

WorkerName is hardcoded in sfn handler #4

dremonkey opened this issue Sep 27, 2017 · 0 comments
Assignees
Labels

Comments

@dremonkey
Copy link

WorkerName is hardcoded to WorkerDemo at https://github.com/Skycatch/tasque-go/blob/develop/sfn_handler.go#L69 so the data sent back to the step function execution looks like this

    { type: 'ActivityStarted',
      id: 16,
      previousEventId: 15,
      activityStartedEventDetails: { workerName: 'WorkerDemo' } }

Setting the real worker name would be nice. Might be a good idea consider passing back some additional information execution params like TASK_PAYLOAD to make it more useful. Thoughts?

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

No branches or pull requests

2 participants