journalRetention

@Nullable
open fun journalRetention(): @Nullable Duration

Return

configured journal retention.

See also


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

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

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