Configurator
class Configurator
Configurator for a ServiceDefinition.
Functions
Link copied to clipboard
This timer guards against stalled service/handler invocations that are supposed to terminate.
Link copied to clipboard
Link copied to clipboard
open fun configureHandler(handlerName: String, configurator: Consumer<HandlerDefinition.Configurator>): ServiceDefinition.Configurator
Configure a specific handler of this service.
Link copied to clipboard
Documentation as shown in the UI, Admin REST API, and the generated OpenAPI documentation of this service.
Link copied to clipboard
open fun enableLazyState(@Nullable enableLazyState: @Nullable Boolean): ServiceDefinition.Configurator
When set to
true
, lazy state will be enabled for all invocations to this service.Link copied to clipboard
open fun idempotencyRetention(@Nullable idempotencyRetention: @Nullable Duration): ServiceDefinition.Configurator
The retention duration of idempotent requests to this service.
Link copied to clipboard
open fun inactivityTimeout(@Nullable inactivityTimeout: @Nullable Duration): ServiceDefinition.Configurator
This timer guards against stalled invocations.
Link copied to clipboard
open fun ingressPrivate(@Nullable ingressPrivate: @Nullable Boolean): ServiceDefinition.Configurator
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
open fun journalRetention(@Nullable journalRetention: @Nullable Duration): ServiceDefinition.Configurator
The journal retention.