cadence-java-client
cadence-java-client copied to clipboard
Java framework for Cadence Workflow Service
Hi, Is there any java based dsl workflow example is present as I am unable to find one.
Memo is not one of the fields in in [WorkflowInfo](https://github.com/uber/cadence-java-client/blob/master/src/main/java/com/uber/cadence/workflow/WorkflowInfo.java) so there is no way to access it inside the workflow. This is possible in the go client so it...
The cacheSize is by number of workflow threads and there is no config as total size of memory consumed. This makes it very hard to manage the memory. The only...
See https://github.com/uber/cadence-java-client/blob/cb5d6ecaeb206044213d9ab2cf45bd74d6f8b654/src/main/java/com/uber/cadence/internal/replay/ClockDecisionContext.java#L185 During replay, the value passed in timer(by Workfllow.sleep() ) can [impact](https://github.com/uber/cadence-java-client/blob/master/src/main/java/com/uber/cadence/internal/replay/ClockDecisionContext.java#L185) Workflow.currentTimeMillis()` if the firing time value is later than current time. This could cause issue for replay...
Also fix cron first execution time in test framework
Currently only adding activity type. ActivityId and EventId is not available right now in SyncDecisionContext and it's not trivial to add. My understanding is that activity type should be good...
Merge of this PR from Temporal: https://github.com/temporalio/sdk-java/pull/56 This is a runtime breaking change, so we need to check if we can derisk it somehow (making it backward compatible)?
> Gson in the java client is printing this error when using Java 12: > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by com.google.gson.internal.reflect.UnsafeReflectionAccessor...
Code (modified samples): ```java public static void main(String[] args) throws TException, IOException { IWorkflowService cadenceService = new WorkflowServiceTChannel( "127.0.0.1", 7933, new WorkflowServiceTChannel.ClientOptions.Builder() .setRpcTimeout(1_000_000L) .setListArchivedWorkflowRpcTimeout(1_000_000_000L) .setQueryRpcTimeout(1_000_000_000L) .setRpcLongPollTimeout(1_000_000_000L) .build() ); System.out.println("---------------------------------------------------------------"); System.out.println("Run...