Skip to content

Boundary Taxonomy ​

Brokered execution belongs under runtime boundary policy, not under a global pipeline transport switch.

Translation Table ​

Use TPF terms when discussing brokered designs:

Broker termTPF meaning
Topic/queue/channelStep inbox, await request/completion channel, checkpoint publication channel, or transition dispatch queue
Consumer/worker groupScaled step-host or provider group for one boundary
Partition key/message groupItem key, lineage key, document id, fan-in key, or await correlation key
Offset/visibility timeoutDelivery cursor or redelivery lease, not the TPF replay pointer
Retention/redrive windowTransport-level redelivery window, not business persistence
Lag/queue depthBoundary pressure signal
DLQ topic/queueItem reject sink or failed execution lane
Record/messageTPF envelope carrying typed payload, serialized payload, payload reference, or controlled loose payload

Kafka replay means re-reading records from a log. SQS redrive means making queued messages visible again from a queue or DLQ. TPF replay means re-running or reusing a known pipeline boundary with step identity, lineage, cache/persistence policy, and replay metadata.

Boundary Types ​

TPF boundaryMeaningBroker fit
Local step boundarySame process, direct invocationUsually no
Remote operator boundaryImmediate request/response external step hostUsually REST/gRPC/LOCAL transport first
Await boundaryExecution parks and resumes after correlated completionStrong fit for request/completion channels
Checkpoint handoffOne pipeline publishes work to another ownerStrong fit for publication/subscription
Transition-worker boundaryDurable coordinator dispatches one bounded continuationPossible dispatcher provider
Brokered step-host boundaryA step is executed by a scaled step-host groupFuture design candidate
Envelope compatibility boundaryStep host receives a generic envelope rather than a strong DTOPossible across any dispatch substrate

Serialization choices such as protobuf, JSON, bytes, or payload references belong to payload policy, not broker fit. See Envelope And Data Policy.

Ownership ​

TPF should own:

  1. pipeline definition and release identity,
  2. step identity and step order,
  3. cardinality and fan-out/fan-in semantics,
  4. lineage, item identity, and parent-child relationships,
  5. retry, reject, and replay metadata,
  6. declared DTO/envelope contracts,
  7. replay topology and viewer interpretation.

The dispatch substrate should own:

  1. durable delivery,
  2. queue depth, lag, and message age,
  3. partition-local ordering or queue visibility/redrive behavior,
  4. consumer/worker distribution,
  5. broker-level redelivery,
  6. retention and substrate ACLs.

The substrate must not own step meaning, fan-in correctness, replay meaning, mapper selection, or pipeline topology.