Skip to content

Conversation

@stwomack
Copy link
Contributor

What was changed

Added an example for API Key & Temporal Cloud

Why?

We didn't have one previously

  1. How was this tested:
    Via the instructions in the README. It's the same as the ssl example (mTls with certs), and thus doesn't have unit tests

  2. Any docs updates needed?
    No

@stwomack stwomack requested review from a team, antmendoza and tsurdilo as code owners May 11, 2025 01:08
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Steve Womack seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

static final String TASK_QUEUE = "MyTaskQueue";

public static void main(String[] args) throws Exception {
// For temporal cloud this would likely be ${namespace}.tmprl.cloud:7233
Copy link
Contributor

Choose a reason for hiding this comment

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

For API keys this is not true, the endpoint is like {region}.api.temporal.io:7233

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in the worker and the starter

@Quinn-With-Two-Ns
Copy link
Contributor

This ample should be linked in the main readme

@Quinn-With-Two-Ns
Copy link
Contributor

Note the CLA does still need to be signed

@stwomack
Copy link
Contributor Author

Huh, I thought I had completed that. I just did it.

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 2c26d1c into temporalio:main Jun 4, 2025
5 of 6 checks passed
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