Skip to main content
Version: 8.8 (unreleased)

Management API

As well as the REST and gRPC API for process instance execution, the Zeebe Gateway exposes an HTTP endpoint for cluster management operations.

About this API

This API is not expected to be used by a typical user, but by a privileged user such as a cluster administrator.

It is exposed via a different port, and configured using configuration management.server.port (or via environment variable MANAGEMENT_SERVER_PORT). By default, this is set to 9600.

The API is a custom endpoint available via Spring Boot Actuator.

info

For additional configurations such as security, refer to the official Spring Boot documentation.

Operations

This API currently supports the following operations:

Exporting API

Use the Exporting API for the followings:

To pause exporting on all partitions, send the following request to the gateway's management endpoint.

POST actuator/exporting/pause

When all partitions pause exporting, a successful response is received. If the request fails, some partitions may have paused exporting. Therefore, it is important to either retry until success or revert the partial pause by resuming exporting.

Exporters API

The Exporters API allows for enabling, disabling or deleting configured exporters. By default, all configured exporters are enabled.

The enable and disable functionality is specifically useful for dual region deployment operations.

  • Enabled: Records are exported to the exporter. The log is compacted only after the records are exported.
  • Disabled: Records are not exported to the exporter, and the log is compacted.
info

You can find the OpenAPI spec for this API in the GitHub repository.

note

The camunda‐zeebe‐gateway service on port 9600 exposes the exporter endpoints.

When enabling an exporter, the exporter must be already configured in the cluster. To initialize an exporter's state, an existing exporter's ID can be provided in the optional initializeFrom field. Both exporters must be of the same type.

To enable a previously disabled exporter, send the following request to the gateway's management API:

POST actuator/exporters/{exporterId}/enable
{
initializeFrom: {anotherExporterId}
}

New records written after the exporter is enabled will be exported to this exporter.