v0.11.2

Clients

Client Creation

An Infinitic client lets us start, retry and cancel tasks or workflows, usually from our Web App controllers.

Client

First, add the infinitic-client dependency into our build.gradle file:

We can then instantiate a client from a configuration file in the file system:

or in the resource folder:

The infinitic.yml configuration file should contain:

  • a name (optional)
  • a pulsar entry describing how to connect to Pulsar
# name is optional
name: client_name

pulsar: ...

When providing a name, it must be unique among all clients connected to Pulsar, as it will be used as Pulsar producer name.

Previous
Hello World

New version 0.11.2!