Skip to main content

Lease

@rotorsoft/act-root


@rotorsoft/act-root / act/src / Lease

Type Alias: Lease

Lease = object

Defined in: libs/act/src/types/reaction.ts:113

Lease information for stream processing.

Properties

at

readonly at: number

Defined in: libs/act/src/types/reaction.ts:116

The lease watermark (last event in the lease window or acked).


by

readonly by: string

Defined in: libs/act/src/types/reaction.ts:117

The lease holder.


lagging

readonly lagging: boolean

Defined in: libs/act/src/types/reaction.ts:119

Whether the stream is lagging behind.


retry

readonly retry: number

Defined in: libs/act/src/types/reaction.ts:118

Retry count.


source?

readonly optional source: string

Defined in: libs/act/src/types/reaction.ts:115

The source stream.


stream

readonly stream: string

Defined in: libs/act/src/types/reaction.ts:114

The target stream name.