LOGBOOK

HELP

Quiz Entry - updated: 2026.07.30

A protocol's lifecycle produces two categories of events. What are they, and how is each delivered?

Protocol state changes are pushed out as Server-Sent Events (SSE); user-defined notifications are published through an AMQP message broker.

Two event lanes leaving a Protocol/Runtime node: the left lane pushes a state change as a Server-Sent Event to a Subscriber/UI; the right lane publishes a notify message (only after commit) to an AMQP broker, then an HTTP Connector, then an external system; a red return arrow carries external events back in via REST plus a short-lived JWT.

* Two lanes out (SSE for state changes, AMQP for notifications after commit); one lane back in (REST + short-lived JWT). *

NPL splits everything a running protocol emits into two streams:

  1. Protocol state changesServer-Sent Events (SSE) — a lightweight one-way HTTP push from server to client. When a protocol's state changes, an SSE is emitted; consumers subscribe to update a user interface or notify external systems in real time.
  2. User-defined notificationsAMQP message broker — custom, typed messages the developer explicitly declares and fires from within the NPL logic, delivered through a message broker (AMQP = Advanced Message Queuing Protocol).

The split matters: state changes are automatic and structural, while notifications are hand-authored integration points the developer designs for specific consumers.

Go deeper:

From Quiz: IOTHACK / The Noumena Build Platform | Updated: Jul 30, 2026