Skip to main content
Version: 0.3.0

Sinks

Sinks (/sinks) defines sink connectors: they subscribe to a stream, read PADAS events, and deliver them to external systems. Sources ingest; tasks and pipelines publish into streams; sinks provide egress and outbound integration.

Several sinks may subscribe to the same stream; each connector runs its own delivery path for the events it reads.

What is a sink connector?​

ConceptDescription
RoleEgress connector: reads from a PADAS stream and sends data out of PADAS.
SubscriptionBinds to an input stream id; the runtime delivers events published on that stream.
ReuseStored as a configuration object; referenced by connector id and by stream from tasks and pipelines.
ClassConnector class (for example http, kafka, object_storage) selects protocol, formatting, retries, and which runtime configuration fields appear.

Conceptual background: Core concepts — Sink connectors.

Sinks list​

Open Pipelines → Sinks (/pipelines/sinks). Use Create to add a connector. View, Edit, Clone, and Delete are items in the record menu (...). Filters sit under column headers; the footer shows counts and paging.

Create → Create a sink connector.

Sinks list: search, Create, registry upload and download, column filters
The Sinks list.

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.

ColumnDescription
IDConnector id in the registry and API.
NameHuman-readable sink name.
ClassConnector class (for example http, syslog, object_storage).
StreamInput stream this sink subscribes to.
EnabledWhether the connector may run when deployed.
AssignmentsOne chip per assigned Core; hover shows deployed time and this sink's status.
Created Time / Updated TimeAudit timestamps, after Assignments.

Create a sink connector​

  1. Choose a unique Sink Name (drives the registry id).
  2. Select Class — pick the delivery mechanism; this controls the rest of the form.
  3. Configure stream subscription with Auto Create Stream and stream picker (see Stream subscriptions).
  4. Complete Config — destinations, authentication, format, delivery and buffering options (see Configuration model).
  5. Set Enabled if the sink should consume and forward traffic once deployed.
  6. Save. Wire the same stream id from tasks and pipelines so processing publishes where this sink subscribes.
Create connector modal: name, class, Auto Create Stream, Config, Enabled
The Create Sink form.

Modal actions: Create Sink and Cancel. Layout mirrors Create Source (same controls; copy uses Sink labels).

Stream subscriptions​

A sink subscribes to exactly one stream id at a time (the Stream field). Tasks and pipelines publish events onto streams; the stream is the transport between processing and delivery.

TopicBehavior
Fan-outMultiple sinks may use the same stream id; each receives the same event stream and applies its own connector class delivery logic.
NamingUse the stream pattern (paloalto-aggregation-output). The id must match sink_streams on the task, or events never reach the sink (Streams). Auto Create Stream appends _stream to the connector name; leave it off when the id must follow the pattern.
DirectionSources write into streams; sinks read from streams.

Auto Create Stream

ToggleBehavior
EnabledPADAS creates a stream automatically, typically derived from the connector name. The sink subscribes to that new stream id (shown in the Stream column after save).
DisabledYou select an existing stream the sink should consume. The sink subscribes only to that stream id.

Connector classes​

Each connector class implements a different delivery path (protocol, batching, credentials). The class determines available configuration and how the runtime batches, retries, and formats output.

ClassRoleDocumentation
fileFile-based deliveryFile connector
httpREST POST (JSON)HTTP connector
kafkaKafka producerKafka connector
padasPADAS TCP to another nodePADAS connector
splunkSplunk-style deliverySplunk connector
syslogForward to syslog receiversSyslog connector
object_storageS3-compatible object stores (Parquet or JSON Lines)S3 / object storage connector

See Connector classes for the full matrix.

Configuration model​

Config holds runtime-oriented settings: endpoints, TLS, credentials, serialization, batch sizes, retry/backoff, and class-specific delivery options. Fields depend on connector class—use the class page for authoritative keys and examples.

Stored fieldUINotes
idDerived from Sink NameSpaces typically become underscores.
nameSink NameRequired; unique among sinks.
classClassRequired; pick from supported sink classes.
auto_create_streamAuto Create StreamSee Stream subscriptions.
streamStream picker or auto resultInput stream id the sink reads from.
configConfig sections in the modalCommon + class-specific blocks.
enabledEnabledMaster toggle for this connector.
descriptionOptional descriptionWhen exposed in the UI.

Advanced Settings — Additional runtime controls may appear under Advanced Settings depending on deployment model and permissions; they complement the modal Config when your environment exposes them.

Delivery acknowledgement​

A sink acknowledges ranges of events from its input stream. How many of those ranges can be sending at once is Batches in flight. Set acknowledgement on the sink with config.delivery.mode. The Sinks form has no control for that field yet. Put it on the sink config in the registry. Deploy keeps the key for a sink and drops it for a source. A task that carries the key is rejected. Tasks acknowledge an event when they read it.

ValueWhen the range is acknowledged
best_effortDefault when the key is omitted. The sink commits after a successful send, and also after the connector gives up on a failed send. A crash before that commit can deliver the same range again.
at_least_onceThe sink commits only after the send reports the range delivered. Until then it replays that one range from the input stream’s write-ahead log, while the log still has it.

at_least_once follows the input stream’s log and buffer mode:

Input streamat_least_once
Write-ahead log on, buffer mode timeout or dropAllowed. A slow sink can lose the live copy. The log keeps the range until retention.
Write-ahead log on, buffer mode blockAllowed. A slow sink can stall publishers on that stream.
Write-ahead log off, buffer mode blockAllowed. The queue is memory only. A restart loses it.
Write-ahead log off, buffer mode timeout or dropRejected at start.

Stream buffer mode stays the backpressure policy. It answers what happens when the subscriber buffer is full.

Retention still deletes log history, including a range a live sink has not acknowledged. A trim warns and moves every consumer on that stream up to the new floor. UDP syslog cannot use at_least_once. A Kafka sink with acks set to 0 cannot use it. An object-storage sink waits for PutObject of its upload batch. Class pages: Syslog, Kafka, S3 / object storage.

Batches in flight​

How many batches a sink sends at once is config.request.max_concurrency. On the Sinks form this is Request → Max concurrency. The form shows 1 when the field is omitted. A sink config that omits request is also 1. Allowed values are the integers 1 through 8.

ValueWhat the sink does
1 (default)One batch is sending. The sink may already have read the next batch and be holding it.
2–8That many batches can be sending at once. The sink stops reading at that count and keeps only those in-flight batches.

Preserve order forces this back to 1.

Only Splunk and HTTP accept a value above 1. Every other sink class accepts 1. This setting is separate from Workers, and separate from Splunk Max in flight (how many HEC bodies one flush may post).

An HTTP sink still posts one event at a time inside a batch. A higher value sends more batches at once.

On Splunk the two caps are independent. With both at 8, the sink can have 64 HEC posts open. A retry does not resend bodies Splunk already accepted for that batch, but a restart can.

A crash before the in-flight batches are acknowledged can send them again, including with best_effort. At 1 that is the batch being sent and the next batch already read. Above 1 it is up to that many batches.

With at_least_once, a failed batch is retried in place. The sink reads no new batch while any batch is retrying. Batches that already succeeded stay unacknowledged until that retry succeeds, and a restart can send them again.

Deploy keeps request on a sink and drops it on a source.

Runtime considerations​

  • A sink row is not live delivery by itself; the connector runs after deployment to a Core and the runtime starts it.
  • Disabled sinks do not consume or forward events.
  • Stream ids must stay consistent with tasks, pipelines, and sources so the publish/subscribe graph is valid.
  • Do not delete a sink connector while a pipeline, task, or deployment still depends on its stream subscription or connector id.