Skip to content

TopicSpec

Defined in: namespaces.ts:520

Topic declaration spec for the fn-70 typed event bus.

[key: string]: unknown

Additional declaration fields.

name: string

Defined in: namespaces.ts:522

Topic name (namespaced by the declaring plugin).


optional schema?: unknown

Defined in: namespaces.ts:524

JSON schema for event payload validation.


optional retention?: unknown

Defined in: namespaces.ts:526

Retention policy (e.g., { mode: "bounded", count: 50 }, "session", "none").


optional delivery?: "atMostOnce" | "atLeastOnce" | "ordered"

Defined in: namespaces.ts:528

Delivery mode: “atMostOnce” | “atLeastOnce” (retry/backoff/dead-letter) | “ordered” (partitioned).