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

workload id will be returned as the first message #364

Merged
merged 2 commits into from
Mar 18, 2021

Conversation

tonicmuroq
Copy link
Contributor

We meet a scenario that we need to set opts.Async = true in zerox to run lambda workload, but we need to know the workload id to check the result later. If this workload has no output, we have to wait for it to end, which is already sync mode... Hence the first message is an empty message contains the workload id.

Not sure if this is breaking change to users, but I guess they will ignore empty Data when receiving the message?

@jschwinger233
Copy link
Member

为啥 go.sum 多了这么多奇怪的东西

@tonicmuroq
Copy link
Contributor Author

... 每次都是自动提交的, 那我去掉 go.sum 吧 =.=

@CMGS CMGS merged commit f87a4b0 into master Mar 18, 2021
@tonicmuroq tonicmuroq deleted the return-workloadid-for-lambda branch March 18, 2021 08:58
EastonLee added a commit to EastonLee/core that referenced this pull request Mar 18, 2021
tonicmuroq added a commit that referenced this pull request Mar 22, 2021
tonicmuroq added a commit that referenced this pull request Mar 22, 2021
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

Successfully merging this pull request may close these issues.

3 participants