Skip to main content
Version: Next

Management API

Besides the REST and gRPC API for process instance execution, Zeebe Gateway also exposes an HTTP endpoint for cluster management operations. 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. For additional configurations such as security, refer to the Spring Boot documentation.

The following operations are currently available:

Exporting API

Exporting API is used:

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 is used for dual region deployment operations, and allows for enabling and disabling configured exporters. By default, all configured exporters are enabled.

When enabled, records are exported to the exporter. The log is compacted only after the records are exported. When disabled, records are not exported to the exporter, and the log will be compacted.

The OpenAPI spec for this API can be found here.

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.