journalRetention

@Nullable
open fun journalRetention(): @Nullable Duration

Return

configured journal retention.

See also


open fun journalRetention(@Nullable journalRetention: @Nullable Duration): HandlerDefinition.Configurator

The journal retention for invocations to this handler.

In case the request has an idempotency key, the idempotencyRetention caps the journal retention time.

NOTE: You can set this field only if you register this service against restate-server >= 1.4, otherwise the service discovery will fail.

Return

this