Streams
Streams (/streams) defines streams: PADAS’s internal event transport between sources, tasks, and sinks. Sources publish events into streams; tasks consume from one stream and publish to others; sinks subscribe to streams for delivery. That layout decouples ingestion, processing, and delivery so each stage can be tuned, scaled, and reasoned about on its own.
Streams are reusable runtime infrastructure: the same stream id can be shared by several components, while WAL and buffer settings define durability, replay, and backpressure for that channel.
Open this screen when you need explicit durability and replay tuning, retention and disk control, throughput-oriented WAL and batch choices, or buffering behavior beyond defaults from padas.toml or connector auto_create_stream.
Background: Core concepts → Streams, Architecture → Data flow. Operator defaults: Motion Engine TOML.
What is a stream?
| Concept | Description |
|---|---|
| Role | A logical event transport channel—append-only event flow inside the runtime. |
| Decoupling | Stream-based boundaries between producers and consumers; no tight coupling between connector and task implementations. |
| Reuse | One stream id can feed multiple tasks or sinks, or receive from multiple publishers, depending on topology. |
| Durability | Optional WAL-backed persistence enables replay and crash recovery; without WAL, semantics favor lower latency and less disk use. |
| Flow control | Buffers absorb bursts; when full, backpressure (block, drop, or timeout—per product defaults) protects the runtime. |
Streams list
Open Pipelines → Streams (/pipelines/streams). Use Create for a new stream; use header filters and footer paging like the other tables.
Create → Create a stream.

These tables share one layout: Search and Create in the toolbar, then a grid with filters on the row under the headers. On Pipelines, one Download / Upload pair for registry JSON sits on the right of the tab strip (a full bundle can be imported from any tab). On Services, Service Clients sits on the right of the tab strip.
Record menu. View, Edit, Clone, and Delete are items in the record menu (...) on each row. They are not icons beside the checkbox.
Row icons. Icons beside the checkbox sit in bordered groups:
- Config — Sync, Deploy, and Remove. Sync is "on", Deploy is "to", and Remove is "from"; the label names the object, for example Deploy Config to cores or Remove Pipeline from cores. Sync shows when the row needs deploy, Deploy when a target is left, and Remove when something is assigned.
- Runtime (Pipelines, Sources, Tasks, Sinks) — Start, Stop, and Restart icon buttons. They apply to the assigned cores in the matching state: Start where it is not running, Stop and Restart where it is running. Stop and Restart ask you to confirm.
There is no Core Actions column and no Config Actions column.
Assignments (Pipelines, Sources, Tasks, Sinks, Lookup Connectors). Each assigned Core or Lookup is a chip on the entity row, not a repeated row in the table. Hover a chip to see its deployed time. A pipeline chip lists each source, task, and sink status. A source, task, or sink chip shows that one status. The hover adds Needs sync when that assignment needs deploy. Created Time and Updated Time sit after Assignments.
Bulk delete. Select rows, then Delete Selected: the red outline button, the same height as the other toolbar buttons.
Columns. Drag a header border to resize a column; double-click the border to fit the content. Every data column can collapse with the control in its header, except the last open data column. Closed columns sit together before Actions. Reset table view clears dragged widths and your open/closed column choices. Long text shows more as the column widens; there is no hover tooltip on truncated text. Status and assignment tooltips stay.
Table modals. A modal whose body is a table (Process config, Lookup Tables, Lookup Connectors, LDAP) has a Full page control in its header. Service Clients does not.
| Column | Description |
|---|---|
| ID | Stable stream identifier referenced by sources, sinks, tasks, and pipelines. |
| Name | Human-readable label (often aligned with id when created in the UI). |
| WAL | Whether write-ahead logging is enabled for this stream. |
| Retention (ms) | Retention policy window for WAL history (when WAL is on). |
| Compress / Algorithm | Compression for WAL segments and codec (for example zstd). |
| Max segments | Upper bound on WAL segment files—runtime durability and disk cap. |
| Sync | Synchronous WAL flushes: stronger durability, higher latency cost. |
| Created time / Updated time | Audit timestamps. |
| ... | Record menu: View, Edit, Clone, Delete. |
Column labels can vary slightly by build; the Create / Edit form shows the authoritative Advanced Settings fields.
Create a stream
- Enter a unique Stream Name (the UI derives the stable
id, commonly spaces → underscores). - In Advanced Settings, configure WAL (on/off and related fields)—see WAL and durability.
- Set retention, compression, max segments, and sync to match your replay and disk goals.
- Configure buffer limits and backpressure-related mode where exposed—see Buffering and backpressure.
- Save, then reference the stream
idfrom sources, tasks, sinks, and pipelines in your deployment configuration.

Stream Name (required) — Must be unique. Downstream objects store references by id; keep identifiers stable once production event flow depends on them.
Add description — Optional operator notes.
Advanced Settings — Expand for the full WAL and buffer form (the list view shows summary columns only). Batch options (when shown) tune how WAL data is grouped before flush and interact with throughput and latency.
WAL and durability
The write-ahead log (WAL) is the primary operational lever for durability and replay on a stream.
| Setting | Role |
|---|---|
| WAL enabled | Persists events to disk, survives process restarts, and supports replay from retained history. When off, the stream behaves more like a transient runtime channel (faster, less durable). |
| Retention (ms) | Defines how long WAL history is kept—your effective replay window for earliest and offset-based reads. Too short truncates recoverable history; too long grows disk use. |
| Compression / algorithm | Reduces segment size on disk at CPU cost—important for high-volume WAL-backed streams. |
| Sync writes | Favors durability (fewer lost in-flight events on crash) at the expense of latency and sustained write throughput. |
| Max segments | Caps segment file count for this stream—bounds disk growth together with retention. |
WAL-backed streams support earliest, offset-based, and latest consumption semantics; details: Core concepts → Positions and offsets.
A sink with delivery.mode at_least_once replays one unacknowledged range from this log while the log is on. Retention still deletes that history. A trim moves every consumer below the new floor forward, including a sink that has not acknowledged the range yet. Tasks acknowledge on read and do not use that sink setting.
| Goal | Direction |
|---|---|
| Replay and recovery | Enable WAL, size retention to the window you must be able to re-read, and weigh sync vs batch latency. |
| Lowest latency, acceptable loss on crash | Disable WAL; still tune buffers if producers block or drop. |
| Disk pressure | Shorten retention, enable compression, and lower max segments. |
Buffering and backpressure
Each stream path uses bounded buffers in front of the logical channel. They absorb bursts so short spikes do not immediately stall producers, and they participate in backpressure when sustained load exceeds downstream capacity.
| Topic | Behavior |
|---|---|
| Bursts | A larger buffer smooths momentary spikes; it does not remove the need to right-size WAL and tasks for sustained rates. |
| Producer throughput | When consumers slow, filled buffers change how much work sources and tasks can push—event flow aligns with real capacity. |
| Backpressure | Protects the runtime from unbounded memory growth. buffer.mode is timeout (on one publish, one shared wait up to timeout_ms for every subscriber channel that still has its grace, then that channel drops until a send succeeds), drop (drop immediately, no grace), or block (the same wait with no deadline, so a stopped subscriber backs up ingress). This is the full-buffer policy. Sink acknowledgement is delivery.mode on the sink. |
| Sizing | Max events, max bytes, timeout, and related fields trade latency (how long events wait in memory) against stability under overload. |
See Core concepts → Backpressure and buffering. Exact field names and defaults match the UI and correspond to the wal and buffer objects in exported configuration bundles.
Runtime behavior
- Streams exist as shared runtime channels: many tasks or sinks may read the same
id, and multiple writers may publish according to your pipeline design. - WAL-backed streams expose replay semantics to consumers that track offsets; non-WAL streams emphasize live event transport with weaker historical guarantees.
- Stream ids should remain stable; renaming, recreating, or deleting a stream breaks references in sources, sinks, tasks, and pipelines until those objects are updated.
- After importing exported configuration, review streams in this grid so retention, WAL, and buffer values match the target environment’s disk and throughput profile.
Operational guidance
- Enable WAL for replay-sensitive workloads and disaster-style recovery; pair it with retention that covers your worst-case catch-up time.
- Tune retention with disk headroom in mind; combine with compression and max segments to cap growth.
- Monitor disk and segment counts on WAL volumes under sustained load.
- Name streams with the stream pattern (
paloalto-syslog-input,paloalto-filtered-stream) so deployment diffs stay readable. - Align stream usage with pipeline topology—one stream per logical stage often clarifies operational ownership and metrics.
- Load-test buffering: under sustained overload, verify whether block, drop, or timeout behavior matches SLOs for each source and sink.
Do not delete a stream while sources, tasks, sinks, or pipelines still reference its stream id.
Related pages
- Connectors — overview; Sources, Sinks
- Tasks
- Pipelines
- Advanced → Queries
- Glossary