Skip to content

TopicSpec

Defined in: namespaces.ts:519

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

[key: string]: unknown

Additional declaration fields.

name: string

Defined in: namespaces.ts:521

Topic name (namespaced by the declaring plugin).


optional schema?: unknown

Defined in: namespaces.ts:523

JSON schema for event payload validation.


optional retention?: unknown

Defined in: namespaces.ts:525

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


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

Defined in: namespaces.ts:527

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