-
Notifications
You must be signed in to change notification settings - Fork 7
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
Suspend and Resume client APIs #96
Comments
Hi @cgillum |
Adding @kaibocai for visibility. |
Here's a PR which shows how we added these APIs in the .NET Isolated SDK: microsoft/durabletask-dotnet#97. One additional thing we'll need in the case of Java is to also add a suspend/resume implementation to |
Thanks @cgillum , I believe I will also add missing logics in https://github.com/microsoft/durabletask-sidecar right. |
No, we don’t use the sidecar project anymore for Functions. There’s no need to change anything there. |
Hi @cgillum , so currently all java sdk integration tests are based on durable side car just similar as .NET sdk (seems .NET sdk also skip the test because of missing logics in sidecar microsoft/durabletask-dotnet#97), if we don't use sidecar for the integration tests, are you expecting we spawn up function runtime (just as what we are doing here https://github.com/microsoft/durabletask-java/tree/main/samples-azure-functions) for the testing? Thanks. |
Oh, interesting. I didn’t realize that any changes to the sidecar were necessary. Maybe it needs to understood the new |
Actually, I just realized that I have local changes on my machine to support suspend/resume. I will create a PR for updating the sidecar. |
Here's the PR for suspend/resume support in the sidecar. I don't have a way to test it yet, unfortunately, so I recommend you clone this PR locally and run it locally (F5 in visual studio, debugging the |
Here is the feature documentation: https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-instance-management?tabs=csharp#suspend-and-resume-instances-preview
Here are the equivalent APIs for the .NET in-proc (WebJobs) model:
The text was updated successfully, but these errors were encountered: