RESOURCE CATALOG

Beacon

Lightweight pub/sub — NATS for notifications, fan-out, and reactive services.

type: "beacon"managed pub/sub

Definition

Beacon provisions NATS with optional JetStream persistence. Connect via nats:// URL for low-latency messaging between Compute instances.

When to use

  • Real-time notifications and live updates.
  • Fan-out to many subscribers.
  • Microservices with minimal latency overhead.

When not to use

  • Guaranteed job processing — prefer Lane.
  • Long-retention event logs — prefer Conduit.

Configuration fields

Each field is validated at creation time. Defaults apply when fields are omitted.

config · beacon
CampoTipoDefault · Opções
jetstream
JetStream persistence
bool
Defaultfalse

Examples

Full payloads for POST to /api/projetos/{id}/recursos:

Live notifications

json
{
  "tipo": "beacon",
  "nome": "notifications",
  "config": {
    "jetstream": true
  }
}

Related resources

Beacon · Catálogo · Tesserra Docs