Skip to content

Sample code for Nexus Standalone#782

Open
Evanthx wants to merge 8 commits into
mainfrom
sano
Open

Sample code for Nexus Standalone#782
Evanthx wants to merge 8 commits into
mainfrom
sano

Conversation

@Evanthx

@Evanthx Evanthx commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Sample code for Standalone Nexus operations. This cannot be checked in before the matching SDK changes - temporalio/sdk-java#2872

@Quinn-With-Two-Ns

Copy link
Copy Markdown
Contributor

Make sure to link this in the README https://github.com/temporalio/samples-java/blob/main/README.md

Comment thread core/src/main/java/io/temporal/samples/nexusstandalone/README.MD Outdated
Comment thread core/src/main/java/io/temporal/samples/nexusstandalone/README.MD Outdated
Comment thread core/src/main/java/io/temporal/samples/nexusstandalone/service/GreetingIds.java Outdated
Comment thread core/src/main/java/io/temporal/samples/nexusstandalone/service/ClientOptions.java Outdated
Comment thread core/src/main/java/io/temporal/samples/nexusstandalone/README.MD Outdated
Evanthx and others added 3 commits June 9, 2026 10:30
Comment thread build.gradle
otelVersion = '1.30.1'
otelVersionAlpha = "${otelVersion}-alpha"
javaSDKVersion = '1.35.0'
javaSDKVersion = '1.36.0-SNAPSHOT'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't merge this PR until 1.36.0 is released

Comment thread build.gradle Outdated
// ─────────────────────────────────────────────────────────────────────────────────────────────
// execute — run a standalone Nexus operation and return its result.
// ─────────────────────────────────────────────────────────────────────────────────────────────
private static void demonstrateExecute(NexusServiceClient<GreetingNexusService> nexusClient)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we add a samples showing how to get a handler from an operation ID?

@Evanthx Evanthx Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got the handle but not by ID! Added. Leaving this thread open - close it if you approve of what I added? It is now in demonstrateExecuteAndGettingHandleById

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.

2 participants