PublishSnowpipeStreaming 2026.11.12.16

Bundle

com.snowflake.openflow.runtime | runtime-snowpipe-streaming-2-processors-nar

Description

Publishes records formatted as newline-delimited JSON to Snowflake pipes or tables by using Snowpipe Streaming version 2.

With a Standard channel, the processor waits for the streaming channel to report committed offset tokens (according to Offset Tracking Resolution and Offset Tracking Timeout) before routing transferred FlowFiles to success, invalid, or failure. Standard channels support configurable delivery and ordering semantics. The processor can run when the incoming connection has no FlowFiles so that pending Standard-channel batches finish polling.

With an Elastic channel, the processor uses at-least-once delivery without ordering and routes FlowFiles after the transfer request completes. Offset tracking properties and Channel Group don’t apply to Elastic channels.

Tags

NDJSON, Snowflake, Snowpipe Streaming

Input requirement

REQUIRED

Supports sensitive dynamic properties

false

Properties

Configure Snowflake authentication, the destination, channel behavior, offset tracking, and record transfer.

PropertyDescription
AccountSnowflake Account Identifier with Organization Name and Account Name formatted as [organization-name]-[account-name]. This property applies when Authentication Strategy is Key Pair.
Authentication StrategyStrategy for authenticating Snowflake connections. Default: Key Pair.
Connection StrategyStrategy for connecting to Snowpipe Streaming services. Standard uses public routing. Private Connectivity uses private addresses provided by the supporting cloud platform, such as AWS PrivateLink. This property applies when Authentication Strategy is Key Pair. Default: Standard.
Channel GroupGroup for managing distinct Snowpipe Streaming channels with partitioning. Supports Expression Language using FlowFile attributes. This property applies when Channel Type is Standard. Default: SHARED.
Channel TypeChannel configuration strategy for Snowpipe Streaming. Standard provides configurable delivery and ordering semantics. Elastic provides at-least-once delivery without ordering. Default: Standard.
Channel Insert TimeoutMaximum duration to retry inserting records before failing. Must be from 1 second through 5 minutes. Default: 30 seconds.
DatabaseSnowflake Database destination for processed records
Destination TypeSnowflake destination object for processed records. Pipe uses a pipe created with TYPE = STREAMING. Table uses a default pipe derived by appending -STREAMING to the table name. Default: Table.
File Fragment CountMaximum number of file fragments sent to object storage for Snowpipe Streaming ingestion from input FlowFiles. This property applies when Transfer Strategy is File Fragments. Must be from 1 through 100. Default: 4.
File Fragment SizeMaximum size for each file fragment sent to object storage for Snowpipe Streaming ingestion. This property applies when Transfer Strategy is File Fragments. Must be from 1 KB through 256 MB. Default: 64 MB.
Metric ResolutionControls which Snowpipe Streaming metrics are emitted and which attributes they include. Processor emits only generic processor metrics. Destination emits snowpipe.streaming.rows.sent, snowpipe.streaming.bytes.sent, snowpipe.streaming.last.push.time, and snowpipe.streaming.consume.to.push.latency with destination pipe, database, and schema attributes. Source and Destination adds the source.name attribute to those metrics. Default: Processor.
Offset Token End ExpressionExpression Language definition that produces the highest offset token for a FlowFile as a monotonically increasing number. This property applies to Standard channels when Offset Tracking Resolution is FlowFile or Record.
Offset Token Record PointerJSON Pointer to the offset token in each record. The processor uses this pointer when the last committed offset token is between the start and end boundaries. This property applies to Standard channels when Offset Tracking Resolution is Record.
Offset Token Start ExpressionExpression Language definition that produces the lowest offset token for a FlowFile as a monotonically increasing number. This property applies to Standard channels when Offset Tracking Resolution is Record.
Offset Tracking ResolutionResolution level for evaluating committed offset tokens against input FlowFiles and records. Disabled uses opaque offset token handling without tracking across FlowFiles or records. FlowFile tracks each FlowFile with monotonically increasing offset tokens. Record tracks each record in each FlowFile with monotonically increasing offset tokens. This property applies to Standard channels. Default: Disabled.
Offset Tracking TimeoutMaximum duration to wait for channel status to confirm committed offset tokens before routing to failure. This property applies to Standard channels. Default: 90 seconds.
PipeSnowflake pipe destination for processed records. Supports Expression Language using FlowFile attributes. This property applies when Destination Type is Pipe.
Private Key ServiceRSA Private Key Service for authenticating connections. This property applies when Authentication Strategy is Key Pair.
RoleSnowflake role used to authorize connection operations. If not specified, the processor uses the user’s default role. This property applies when Authentication Strategy is Key Pair.
SchemaSnowflake Schema destination for processed records
Source NameValue recorded as the source.name attribute on the Snowpipe Streaming metrics listed for Metric Resolution. Supports Expression Language using FlowFile attributes. This property applies when Metric Resolution is Source and Destination.
Source TimestampEpoch time in milliseconds for the earliest source record represented by each FlowFile. Snowpipe Streaming uses the earliest usable value in an insert request to calculate end-to-end latency. If the value is missing, nonpositive, can’t be parsed, or can’t be evaluated, the processor uses the FlowFile lineage start time. Default: ${lineageStartDate}.
TableSnowflake table destination for processed records. Supports Expression Language using FlowFile attributes. This property applies when Destination Type is Table.
Transfer StrategyStrategy for transferring records to Snowpipe Streaming. Managed transfers records as either batches of rows or file fragments based on uncompressed size. Rows transfers batches of rows over HTTP to Snowpipe Streaming. File Fragments transfers file fragments over HTTP to cloud storage services. Default: Managed.
UserSnowflake User for authenticating connections. This property applies when Authentication Strategy is Key Pair.
Web Client Service ProviderWeb Client Service Provider supporting HTTP request and response handling

Writes attributes

For completed Standard-channel batches, the processor writes this attribute to report row-level ingestion errors.

NameDescription
channel.status.row.errors.addedNumber of row errors reported for a pending Standard-channel batch. The value is 0 when the completed batch has no row errors.

Relationships

Connect these relationships to route each FlowFile according to its Snowpipe Streaming result.

NameDescription
emptyRoutes empty FlowFiles that weren’t sent to Snowflake.
failureRoutes FlowFiles that couldn’t be uploaded to Snowflake.
invalidRoutes partially transmitted FlowFiles for which Snowflake reported one or more invalid rows.
successRoutes FlowFiles successfully uploaded to Snowflake.