Package-level declarations

Properties

Link copied to clipboard

This timer guards against stalled invocations that are supposed to terminate. The abort timeout is started after the inactivityTimeout has expired and the invocation has been asked to gracefully terminate. Once the timer expires, it will abort the invocation.

This timer guards against stalled service/handler invocations that are supposed to terminate. The abort timeout is started after the inactivityTimeout has expired and the service/handler invocation has been asked to gracefully terminate. Once the timer expires, it will abort the service/handler invocation.

Link copied to clipboard

Set the acceptable content type when ingesting HTTP requests. Wildcards can be used, e.g. application/* or */*.

Link copied to clipboard

Documentation as shown in the UI, Admin REST API, and the generated OpenAPI documentation of this handler.

Documentation as shown in the UI, Admin REST API, and the generated OpenAPI documentation of this service.

Link copied to clipboard

When set to true, lazy state will be enabled for all invocations to this handler. This is relevant only for workflows and virtual objects.

When set to true, lazy state will be enabled for all invocations to this service. This is relevant only for workflows and virtual objects.

Link copied to clipboard

Exponential backoff multiplier used to compute the next retry delay.

Link copied to clipboard

The retention duration of idempotent requests to this service.

Link copied to clipboard

This timer guards against stalled invocations. Once it expires, Restate triggers a graceful termination by asking the invocation to suspend (which preserves intermediate progress).

Link copied to clipboard

When set to true this handler cannot be invoked from the restate-server HTTP and Kafka ingress, but only from other services.

When set to true this service, with all its handlers, cannot be invoked from the restate-server HTTP and Kafka ingress, but only from other services.

Link copied to clipboard

Initial delay before the first retry attempt. If unset, server defaults apply.

Link copied to clipboard

Retry policy used by Restate when invoking this handler.

Retry policy used by Restate when invoking this service.

Link copied to clipboard

The journal retention for invocations to this handler.

The journal retention. When set, this applies to all requests to all handlers of this service.

Link copied to clipboard

Maximum number of attempts before giving up retrying.

Link copied to clipboard

Upper bound for any computed retry delay.

Link copied to clipboard

Handler metadata, as propagated in the Admin REST API.

Service metadata, as propagated in the Admin REST API.

Link copied to clipboard
Link copied to clipboard

The retention duration for this workflow handler.

The retention duration for this workflow. This applies only to workflow services.

Functions

Link copied to clipboard

Endpoint builder function.