public class ZeebeClientImpl extends Object implements ZeebeClient
Constructor and Description |
---|
ZeebeClientImpl(ZeebeClientConfiguration configuration) |
ZeebeClientImpl(ZeebeClientConfiguration configuration,
io.grpc.ManagedChannel channel) |
ZeebeClientImpl(ZeebeClientConfiguration config,
io.grpc.ManagedChannel channel,
ScheduledExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
static io.grpc.ManagedChannel |
buildChannel(ZeebeClientConfiguration config) |
void |
close() |
ZeebeClientConfiguration |
getConfiguration() |
JobClient |
jobClient()
A client to
create a (standalone) job
complete a job
mark a job as failed
update the retries of a job
|
TopologyRequestStep1 |
newTopologyRequest()
Request the current cluster topology.
|
WorkflowClient |
workflowClient()
A client to
deploy a workflow
create a workflow instance
cancel a workflow instance
update the payload of a workflow instance
request a workflow resource
request all deployed workflows
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newClient, newClient, newClientBuilder
public ZeebeClientImpl(ZeebeClientConfiguration configuration)
public ZeebeClientImpl(ZeebeClientConfiguration configuration, io.grpc.ManagedChannel channel)
public ZeebeClientImpl(ZeebeClientConfiguration config, io.grpc.ManagedChannel channel, ScheduledExecutorService executorService)
public static io.grpc.ManagedChannel buildChannel(ZeebeClientConfiguration config)
public WorkflowClient workflowClient()
ZeebeClient
workflowClient
in interface ZeebeClient
public JobClient jobClient()
ZeebeClient
jobClient
in interface ZeebeClient
public TopologyRequestStep1 newTopologyRequest()
ZeebeClient
List<BrokerInfo> brokers = zeebeClient .newTopologyRequest() .send() .join() .getBrokers(); SocketAddress address = broker.getSocketAddress(); List<PartitionInfo> partitions = broker.getPartitions();
newTopologyRequest
in interface ZeebeClient
send()
public ZeebeClientConfiguration getConfiguration()
getConfiguration
in interface ZeebeClient
public void close()
close
in interface ZeebeClient
close
in interface AutoCloseable
Copyright © 2017–2018 camunda services GmbH. All rights reserved.