/temporal-java-sdk

Temporal Java SDK

Primary LanguageJavaOtherNOASSERTION

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 -O https://raw.githubusercontent.com/temporalio/temporal/master/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

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'

Until the official release use the version from the temporal-java-samples build.gradle

Documentation

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

Javadocs for the client API are located here.

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.