Glossary
Identifier prefixes are shown in brackets where an entity has one, for example (clt_). Every
platform id is a TSID with such a prefix.
Access token
Section titled “Access token”A token that lets its holder call the platform API. API access tokens come from the
client-credentials grant, refresh, or an interactive login by a first-party application allowed
API access, and carry token_use=api, the principal’s tier and its granted permissions in
scope. Compare id_token. See Tokens.
A name that points at one version of a function. live is what
subscriptions, schedules and ordinary calls reach; other aliases (such as qa or canary) are
reachable over HTTP only. Promoting a version to live is the moment it takes effect.
Anchor
Section titled “Anchor”The highest tier: platform staff and operators, who act across all clients. An anchor domain is an email domain whose users belong to the anchor tier.
Application
Section titled “Application”Identifier prefix: app_.
The unit of integration: a system that publishes and consumes events, registers its own
definitions, and authenticates its users and machines through the platform. Its code (such as
orders) prefixes everything it owns: event types, roles, function addresses. An application has a
type, application or integration.
At-least-once
Section titled “At-least-once”The delivery promise: every dispatch job is delivered one or more times. A crash or a retry can repeat a delivery, so receivers make their handlers idempotent, keyed on the job id.
Audit log
Section titled “Audit log”Identifier prefix: aud_.
The record of administrative changes, written in the same transaction as the change. Applications
add their own entries through the outbox.
Identifier prefix: fwb_.
A printed QR code that a field worker can sign in with, with or without a PIN
depending on the client’s policy. A badge without a PIN works only on an enrolled device.
BLOCK_ON_ERROR
Section titled “BLOCK_ON_ERROR”A dispatch mode. When a job in a message group fails for good, the rest of the group waits behind it until an operator resolves it. Used when a later message makes no sense without an earlier one (“add item” after “create order”).
Client
Section titled “Client”Identifier prefix: clt_.
A tenant: one of the businesses served on the platform. Each client has an identifier (a slug
such as acme) used in queue and pool names and sent with deliveries as clientCode. Not to be
confused with an OAuth client.
Client config
Section titled “Client config”The entitlement of a client to an application. It bounds which application roles the client’s administrators can grant.
Connection
Section titled “Connection”Identifier prefix: con_.
A named delivery identity that subscriptions can share. It names the
service account whose credentials sign the deliveries, and it can be paused,
which holds every job that goes through it. A connection is global or bound to one client, and
shared or owned by one application.
Contract
Section titled “Contract”In the application framework, a language-neutral specification of one capability, written before the code. The Java and Go implementations must both satisfy it, checked by conformance vectors. The platform’s HTTP API has its own wire contract.
Conformance vector
Section titled “Conformance vector”A test case stored as data (JSON) in the framework repository. The Java implementation writes the vectors; the other implementations read them and must produce the same bytes and decisions.
Console
Section titled “Console”The administration web interface at /ui, server-rendered with templ and Datastar, where
administrators manage clients, applications, users, subscriptions, dispatch jobs and the rest.
Data only
Section titled “Data only”A delivery option. Instead of the JSON envelope, the job’s payload is sent byte for byte with its own content type, and the envelope’s fields travel in headers.
Deferral
Section titled “Deferral”The router handing a message back to the broker to be delivered later, without counting it as a
failure. A full dispatch pool defers instead of blocking its queue, and a
consumer can defer by answering 2xx with ack: false.
Definition sync
Section titled “Definition sync”How an application declares what it owns on the platform: event types, subscriptions, connections, roles, dispatch pools, scheduled jobs, processes, principals, its OpenAPI document and documentation pages. Each sync makes the platform match the code, and is safe to run on every deploy.
Delivery callback
Section titled “Delivery callback”The platform endpoint /api/dispatch/process that the router calls for each dispatch job. It
claims the job, delivers it to the real target, records the attempt and moves the job on, and
always answers the router ack: true.
Dispatch job
Section titled “Dispatch job”Identifier: a bare 13-character TSID, no prefix (or one the producer chose).
One delivery of one payload to one target, and the record of every attempt. A job is created by
the fan-out for each matching subscription, directly by an application, by an
ingestion, or by a function. Its statuses are PENDING, QUEUED, PROCESSING, COMPLETED,
FAILED, CANCELLED and EXPIRED (not delivered before its age limit). Its code is the event type for a job raised by an event,
otherwise a code chosen by its creator.
Dispatch mode
Section titled “Dispatch mode”How a message group treats a failure: IMMEDIATE (no ordering, deliver in
parallel), NEXT_ON_ERROR (in order, a failed message does not stop the group; the default) or
BLOCK_ON_ERROR.
Dispatch pool
Section titled “Dispatch pool”Identifier prefix: dpl_.
A delivery lane with its own concurrency limit and rate limit. Jobs name a pool; the router
enforces it. Pools keep one slow or flooded consumer from starving the others. A SUSPENDED or
ARCHIVED pool holds its jobs; an archived pool takes no new jobs or subscriptions.
Dispatch scheduler
Section titled “Dispatch scheduler”The subsystem that claims due PENDING jobs in group order and publishes a pointer to each on its
client’s queue. It runs as one active copy so that group order holds.
Envelope
Section titled “Envelope”The default delivery body: JSON with the job’s id, type, attemptNumber, time, client,
optional source, subject, correlationId and messageGroup, and the payload in data.
Identifier: a bare 13-character TSID, no prefix (or one the producer chose).
A business fact an application publishes: something that happened, with a type, a source, its
data and optionally a subject, a correlationId and a messageGroup. Events are stored as
facts and never changed.
Event type
Section titled “Event type”Identifier prefix: evt_.
The registered kind of an event, coded application:subdomain:aggregate:event (for example
orders:sales:order:placed). It can carry JSON schemas, which document the payload but are not
enforced at ingest.
Extension
Section titled “Extension”A Java plug-in for the ingestor runtime that adds a new kind of ingestion source, such as a vendor’s API.
Fan-out
Section titled “Fan-out”The part of the stream processor that matches each new event against the active subscriptions and inserts one dispatch job per match, in one transaction.
fc-server
Section titled “fc-server”The production binary. Every subsystem is inside it and switched on by environment variables.
The local development binary: the whole platform in one process with an embedded PostgreSQL, plus
developer commands (fcdev fn, fcdev ingest, fcdev outbox).
Field worker
Section titled “Field worker”Identifier prefix: fwu_.
A frontline worker (a driver, a picker) who signs in on a phone or a shared device (fwd_) with a
PIN or a badge. Field workers are a separate identity plane from platform users: PINs
are held by the platform, and their tokens are bound to a device key, so a stolen token is useless
on another device. A field worker can be linked to a platform user.
Function
Section titled “Function”Identifier prefix: fnc_.
A small first-party program that the platform stores, versions and runs: in Go, Rust or
TypeScript on the function runner, or in Java on the ingestor runtime. Its address is
{application}.{name}. Subscriptions deliver events to it, schedules fire it, and callers invoke
it over HTTP.
id_token
Section titled “id_token”The OpenID Connect token an application receives when someone signs in. It says who the person is and which of that application’s roles they hold, lives for five minutes, and is an assertion to the application, not a credential for the platform API.
Identity provider
Section titled “Identity provider”Identifier prefix: idp_.
An external organisation’s OIDC sign-in service that FlowCatalyst federates to. Email domains are
mapped to it, so a person whose email is in that domain signs in there.
Ingestion
Section titled “Ingestion”Identifier prefix: ing_.
A definition that brings outside data in: a source (SFTP, S3, SQS, RabbitMQ, a polled table or
API, an HTTP push, a Camel route, an extension), a split (how a payload becomes records) and a
target (the dispatch job, or the event, each record becomes). Addressed as
application/client/code.
Ingestor runtime
Section titled “Ingestor runtime”The separate Java and Apache Camel process that reads ingestion sources. It polls the platform for work, holds a lease on each polled source it runs, and creates jobs only through the platform’s runtime API.
Integration
Section titled “Integration”An application of type INTEGRATION: a connector or adapter rather than a system people sign in
to. Only integrations can own ingestions.
Leader election
Section titled “Leader election”How a subsystem that must run as one copy (the stream processor, schedulers, outbox processor,
router) chooses the active copy among replicas, through a Redis lock. Switched on with
FC_STANDBY_ENABLED. A copy that cannot elect stays idle rather than risk two active copies.
A time-limited claim. An ingestor runtime holds a lease on each polled ingestion it runs, so only one runtime reads that source at a time; a runtime that stops renewing loses the ingestion to another.
Message group
Section titled “Message group”A key that ties related messages together, such as an order’s id. Messages in the same group are delivered first-in, first-out; different groups are delivered in parallel. A message without a group is not ordered.
OAuth client
Section titled “OAuth client”Identifier prefix: oac_.
A registered OAuth 2.0 client: a confidential one for a service account’s client-credentials
grant, or an interactive one (authorization code with PKCE) for an application that signs people
in. Its client_id is not a client id.
Outbox
Section titled “Outbox”The outbox_messages table in an application’s own database. The SDKs and frameworks write
events, dispatch jobs and audit entries there in the same transaction as the business change, and
a relay (fcdev outbox, or the outbox processor in fc-server) sends them to the platform,
retrying a failed row without limit and blocking a message group at a row the platform refuses.
This is the transactional outbox pattern.
Partner
Section titled “Partner”The middle tier: a principal who works across a set of clients granted to them.
Permission
Section titled “Permission”A right, written in four segments: platform:<context>:<resource>:<action> for the platform’s own
(for example platform:messaging:dispatch-job:view), and with the application’s code as the
first segment for an application’s own. Permissions are bundled into roles.
In the use-case write path, what a use case’s decision step returns: the rows to save or delete, the event, the dispatch jobs and pushes. Only the runner applies a plan, in one transaction with the event and audit rows, so a saved change always comes with its event.
See dispatch pool. Function runners also have runner pools: each runner serves one pool, and a function names the pool it runs in.
Portal identity
Section titled “Portal identity”Identifier prefix: ptu_.
A sign-in identity for a client’s own customers, kept separate from platform users: its own
storage, its own entry points under /portal/*, and no platform authority. A portal app
(pta_) is one portal a client runs; the platform authenticates the person, and the portal app
decides what they may do.
Principal
Section titled “Principal”Identifier prefix: prn_.
Someone or something that acts on the platform: a user or a service account.
Every principal has a tier and a home client where that applies. Portal identities and
field workers are separate planes, not principals.
Process
Section titled “Process”Identifier prefix: prc_.
A description of a multi-step business flow: a name, a body and a diagram, synced from application
code and shown in the console. It documents a flow; it neither runs nor tracks it (there are no
process instances).
A small server-sent signal to browsers, apps or devices that something changed (for example “order 7 changed”). The data itself is read from the application’s API. See topic and ticket.
Redrive
Section titled “Redrive”Delivering a COMPLETED dispatch job again. It needs an explicit confirmation and its own
permission, because the consumer has already accepted the job once.
Requeue
Section titled “Requeue”Returning a dispatch job to PENDING so it is delivered again: a failed, cancelled or stuck job,
including one QUEUED or PROCESSING that an operator judges lost. See
dispatch jobs for the exact rules.
Identifier prefix: rol_.
A named bundle of permissions, assigned to principals. Application roles are named
application:role and declared in the application’s code; platform roles are built in.
Router
Section titled “Router”The message router: it polls the queues, puts each message into its dispatch pool and message group, applies limits and calls the target. It is a poller, not a server that messages are pushed to.
Scheduled job
Section titled “Scheduled job”Identifier prefix: sjb_.
Work fired on a cron schedule: six fields, seconds first (sec min hour day-of-month month day-of-week). Exactly one firing per tick is delivered, signed, to the target, and each firing is
an instance (sji_) the receiver acknowledges.
Service account
Section titled “Service account”Identifier prefix: sac_.
A machine identity: a service principal paired with a confidential OAuth client and webhook
credentials (a bearer token and an HMAC signing secret). An application’s service account is
confined to that application.
Signature
Section titled “Signature”Every delivery carries X-FlowCatalyst-Signature, an HMAC-SHA256 over the timestamp in
X-FlowCatalyst-Timestamp followed by the raw body, made with the signing service account’s
secret. Receivers verify it before trusting the body.
Stream processor
Section titled “Stream processor”The subsystem that moves accepted events forward: the fan-out, the read-optimised projections of events and dispatch jobs, and the partition manager.
Subscription
Section titled “Subscription”Identifier prefix: sub_.
A binding from one or more event types (patterns allowed) to a delivery endpoint. It also names the dispatch pool, the dispatch mode,
retries and timeout, and optionally a connection or a service account to sign with.
Ticket
Section titled “Ticket”A short-lived signed token (EdDSA) that an application mints to grant a caller specific push topics, after its own access check. Used when a rule alone cannot say who may listen.
How far a principal reaches: ANCHOR (all clients), PARTNER (a granted set of clients) or
CLIENT (one client). It travels in tokens as the tier claim.
The address of a push: {application}:{segment}(:{segment})*, for example
orders:order:ord_123. Rules declared in code, or tickets, decide who may subscribe.
A gated, time-boxed capture of what a function or an ingestion did, switched on by an operator for a short window, with credentials redacted before records leave the runtime.
A time-sortable 13-character identifier with a three-letter type prefix, such as
clt_0HZXEQ5Y8JY5Z. Ids are always generated by the platform or the SDKs, never chosen by hand.
Use case
Section titled “Use case”One business operation, as one unit: validate the input, check the caller may do it, decide, and apply the resulting plan in one transaction together with its event and audit rows. The platform’s own operations, the use-case helpers of the SDKs and both frameworks share this shape.
Version
Section titled “Version”Identifier prefix: fnv_.
One published, immutable build of a function, numbered 1, 2, 3 and so on. Numbers are
never reused. See alias.