For the complete documentation index, see llms.txt. This page is also available as Markdown.

Batch data movement

Conceptual overview of Nilus batch data movement: when to use it, how periodic extraction works, and how it differs from CDC and stream modes.

Not every source can expose a continuous stream of changes. Many systems are better handled through periodic extraction: relational tables, SaaS APIs, file stores, spreadsheets, and operational exports. That is where batch data movement fits. Instead of chasing every individual event, Nilus runs a bounded extract and lands the resulting dataset into the chosen destination. See Batch sample configs for example manifests across common batch sources and sinks.

The batch model

Nilus models batch ingestion as type: nilus with spec.type: batch. The manifest declares a source, a sink, and any optional runtime or scheduling controls, while Nilus handles the execution shell, state, and destination loading path.

Batch is the right fit when the source is snapshot-oriented, when freshness requirements are measured in minutes or hours rather than seconds, or when the simplest operational model is the best one.

This page explains the conceptual model only. For the full list of source.options and sink.options keys- tables, defaults, and when to use each, see Batch pipeline config. For example manifests across common batch sources and sinks, see Batch sample configs.

Core capabilities

Nilus batch type is built around three main patterns:

Wide connector coverage

  • Batch ingestion is the primary data movement type for many SaaS, API, spreadsheet, object-store, and relational connectors.

  • source_table stays connector-specific: it might mean schema.table, an API object, a sheet identifier, or another logical resource name.

  • Nilus keeps the same manifest shape across those connector types even when the extraction behavior differs.

Snapshot and incremental patterns

  • Some batch sources are naturally snapshot-oriented and are best paired with replace.

  • Some batch sources support incremental extraction through an incremental_key.

  • Others manage refresh behavior inside the connector itself, so the manifest should avoid forcing a cursor that the connector does not actually honor.

Flexible destination writes

  • Batch sinks still use destination-specific behavior such as append, replace, or merge.

  • Nilus keeps the source contract and destination contract separate so that source extraction and target write semantics can be tuned independently.

  • This makes it easier to document one connector at a time while preserving a common batch authoring model.

Flow

  1. Nilus resolves the source URI or depot reference and loads any required secrets.

  2. The batch source extracts rows, objects, or files according to the connector contract.

  3. Nilus applies optional shaping such as masking, type overrides, or bounded extraction windows.

  4. The sink writes the batch output using the configured destination strategy.

Constraints

  • Batch pipelines trade freshness for simplicity, so they are not a substitute for CDC when near-real-time state matters.

  • Large snapshot runs can create bursty source or destination load if schedules and resource sizing are not planned carefully.

  • Incremental behavior is connector-dependent; the source page should always be treated as the final reference for whether incremental_key is valid.

  • Destination behavior still depends on the chosen sink, so the sink page remains the source of truth for target-specific options.

Last updated

Was this helpful?