Configurator
class Configurator
Configurator for a HandlerDefinition.
Functions
Link copied to clipboard
This timer guards against stalled invocations that are supposed to terminate.
Link copied to clipboard
open fun acceptContentType(@Nullable acceptContentType: @Nullable String): HandlerDefinition.Configurator
Set the acceptable content type when ingesting HTTP requests.
Link copied to clipboard
Link copied to clipboard
Documentation as shown in the UI, Admin REST API, and the generated OpenAPI documentation of this handler.
Link copied to clipboard
open fun enableLazyState(@Nullable enableLazyState: @Nullable Boolean): HandlerDefinition.Configurator
When set to
true
, lazy state will be enabled for all invocations to this handler.Link copied to clipboard
open fun idempotencyRetention(@Nullable idempotencyRetention: @Nullable Duration): HandlerDefinition.Configurator
The retention duration of idempotent requests to this service.
Link copied to clipboard
open fun inactivityTimeout(@Nullable inactivityTimeout: @Nullable Duration): HandlerDefinition.Configurator
This timer guards against stalled invocations.
Link copied to clipboard
open fun ingressPrivate(@Nullable ingressPrivate: @Nullable Boolean): HandlerDefinition.Configurator
When set to
true
this handler cannot be invoked from the restate-server HTTP and Kafka ingress, but only from other services.Link copied to clipboard
open fun journalRetention(@Nullable journalRetention: @Nullable Duration): HandlerDefinition.Configurator
The journal retention for invocations to this handler.
Link copied to clipboard
open fun workflowRetention(@Nullable workflowRetention: @Nullable Duration): HandlerDefinition.Configurator
The retention duration for this workflow handler.