Skip to content

Simple Java Worker in a project with no frameworks or dependency management

Notifications You must be signed in to change notification settings

orkes-io/simple-java-worker

Repository files navigation

Simple Java Worker

This example uses Orkes Java Client v4 fat jar: libs/orkes-conductor-client-4.0.0-all.jar.

Min Java Version: 11.

The jar includes all transitive dependencies like:

  • Jackson.
  • OkHttp3.
  • Guava.
  • Slf4j - but no specific implementation to allow the user to choose between Log4j, Logback or another.

Here's a list of the classes included in jar: classes.txt.

Usage

1 - Compile

javac -cp "libs/*" -d . src/io/orkes/conductor/examples/worker/SimpleJavaWorker.java

2 - Execute

java -cp "libs/*:./resources:." io.orkes.conductor.examples.worker.SimpleJavaWorker

About

Simple Java Worker in a project with no frameworks or dependency management

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages