s2_inputfeeds a table from an S2 stream, passing each record body to the configured Feldera input format (e.g. JSON). It checkpoints S2 sequence numbers, so a resumed pipeline picks up where it left off, and it reconnects with bounded backoff on transient errors.start_fromselects where a fresh pipeline begins:"Beginning","Tail", aSeqNum, aTimestamp, or aTailOffset.s2_outputappends a view’s changes to an S2 stream as one record per encoded row, batched into native S2 appends. It is not a fault-tolerant output: a failure between S2 accepting a batch and Feldera observing the acknowledgement can produce duplicates on retry.
basin, stream, and auth_token, plus an optional endpoint. Full configuration tables are in the Feldera docs:
Feldera marks S2 support as experimental.
Example
A table reads JSON records from theorders stream, and a view appends every order of $1,000 or more to the large-orders stream as Feldera insert/delete envelopes:
Replace commerce with your own basin name, and create both streams first (s2 create-stream s2://{basin}/orders and s2 create-stream s2://{basin}/large-orders) unless the basin has stream auto-creation enabled.
auth_token is an S2 access token; the example passes it as a Feldera secret reference rather than inline.
With the pipeline running, appending an order to orders:
large-orders as an insert envelope:

