microsoft / durabletask-java

Java SDK for Durable Functions and the Durable Task Framework
MIT License
13 stars 7 forks source link

Continue-as-new support #6

Closed cgillum closed 2 years ago

cgillum commented 2 years ago

Requirement

Orchestrations should be able to use the continue-as-new pattern as described here.

One or more integration tests should also be written to exercise the continue-as-new codepath.

Implementation notes

A good starting point for writing an integration test would be to look at the Continue-as-new integration test for .NET Isolated: https://github.com/microsoft/durabletask-dotnet/blob/0998d1719e98c3d340f964d7ee659dc4e2916643/test/DurableTask.Sdk.Tests/OrchestrationPatterns.cs#L404-L432