New in 0.16.2

v0.16.3

Client

Client Creation

An Infinitic Client allows you to interact with the Infinitic application. It can be used to start or cancel workflows, retry tasks, etc.

To build an Infinitic Client you need first to add the infinitic-client dependency into your project:

An Infinitic client can be set up throuh builders or using YAML.

Whatever the chosen method, you'll need to pecify how to connect to the event broker.

Builder-based Configurations

Here is the configuration to create a worker connecting to a Pulsar cluster:

More configuration options are available, see Pulsar reference.

YAML-based Configuration

A client can be created directly from a YAML string, a YAML file or a YAML resource:

Here is a minimal configuration to create a client connecting to a Pulsar cluster:

transport:
  pulsar:
    brokerServiceUrl: pulsar://localhost:6650/
    webServiceUrl: http://localhost:8080
    tenant: infinitic
    namespace: dev

More configuration options are available, see Pulsar reference.

Previous
Infrastructure