Skip to main content

Interface: StreamMetadata

Properties

config

Optional config: Object

Defines the structure of the content (payloads) of messages in this stream.

Remarks

Not validated, purely for informational value.

Type declaration

NameType
fieldsField[]

description

Optional description: string

Human-readable description of this stream.


inactivityThresholdHours

Optional inactivityThresholdHours: number

After how many hours of inactivity (i.e. no messages) should a stream be considered inactive. Purely for informational purposes.


partitions

partitions: number

Determines how many partitions this stream consist of.


storageDays

Optional storageDays: number

If this stream is assigned to storage nodes, how many days (at minimum) should the data be retained for.