Skip to content

Temporal Java SDK

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.txt
Unknown
license-header.txt
Notifications You must be signed in to change notification settings

vitarb/java-sdk

 
 

Repository files navigation

Temporal Java SDK Build status

Temporal is a Workflow as Code platform used to build and operate resilient applications using developer friendly primitives, instead of constantly fighting your infrastructure.

temporal-java-sdk is the framework for authoring workflows and activities in Java.

If you are authoring in Go, see Temporal Go SDK.

Samples

For samples, see Samples for the Temporal Java SDK.

Run Temporal Server

Run Temporal Server using Docker Compose:

curl -L https://github.com/temporalio/temporal/releases/latest/download/docker.tar.gz | tar -xz --strip-components 1 docker/docker-compose.yml
docker-compose up

If this does not work, see instructions for running the Temporal Server at https://github.com/temporalio/temporal/blob/master/README.md.

Get CLI

CLI is avaialable as an executable or as a docker image

Build a configuration

Find the latest release of the Temporal Java SDK at maven central.

Add temporal-sdk as a dependency to your pom.xml:

<dependency>
  <groupId>io.temporal</groupId>
  <artifactId>temporal-sdk</artifactId>
  <version>N.N.N</version>
</dependency>

or to build.gradle:

compile group: 'io.temporal', name: 'temporal-sdk', version: 'N.N.N'

Documentation

The documentation on how to use the Temporal Java client is here.

Javadocs for the client API are located here.

macOS Users

Due to issues with default hostname resolution (see this StackOverflow question for more details), macOS Users may see gRPC DEADLINE_EXCEEDED errors and other slowdowns when running the SDK.

To solve the problem add the following entries to your /etc/hosts file (where my-macbook is your hostname):

127.0.0.1   my-macbook
::1         my-macbook

Contributing

We'd love your help in making the Temporal Java SDKL great. Please review our contribution guidelines.

License

Apache License, please see LICENSE for details.

About

Temporal Java SDK

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.txt
Unknown
license-header.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%