Every inbound Snowflake pattern in Aestus CDC is a dedicated, containerized integrate agent. Because Avro is already Aestus's standard data traffic format on the broker, stage- and stream-based agents pass blocks straight through without transcoding, while direct-write and Iceberg agents decode and apply them at the edge. Pick the agent that matches your latency, coupling and Snowflake credit goals.
Order-of-magnitude Snowflake ingestion latency, throughput ceiling, required compute, credit cost profile and coupling across the seven inbound agents.
| Integrate Agent | Snowflake Ingest Latency | Throughput | Snowflake Compute | Cost Profile | Coupling |
|---|---|---|---|---|---|
Virtual Warehouse via database/sql integrate-sf-sql | ~1–5 s per block | Low–medium (statement-bound) | Virtual Warehouse, whenever data flows | 💲💲💲 for trickle workloads | Tight (driver, warehouse) |
Snowflake SQL REST API integrate-sf-sql-api | ~1–5 s per block | Low–medium (statement-bound) | Virtual Warehouse, whenever data flows | 💲💲💲 for trickle workloads | Tight (HTTPS only) |
Internal Stage (PUT) + COPY INTO / Snowpipe integrate-sf-stage | Minutes (schedule) | Medium–high | Warehouse only during COPY INTO (or serverless Snowpipe) | 💲 Low (batchable) | Medium (Internal Stage) |
Object Storage + External Stage + Snowpipe / Dynamic Tables (AWS, Azure, GCP) integrate-aws-objectstoreintegrate-az-objectstoreintegrate-gcp-objectstore | Seconds–minutes | Very high (GB/s–TB/day) | Serverless Snowpipe + Dynamic Table or Task; scheduled or continuous | 💲–💲💲 Lowest per GB | Loose (bucket only) |
Kafka / Event Hubs + Snowflake Connector for Kafka integrate-sf-kafka | Seconds | Very high | Serverless Snowpipe Streaming (via Kafka Connect) + Dynamic Table / Task | 💲💲 + broker cost | Loose (topic only) |
Snowpipe Streaming API integrate-sf-snowpipe-streaming | Seconds (~1–5 s) | High (scale with channels) | None you manage (serverless Snowpipe Streaming) | 💲 Usage-based | Tight (Snowflake Streaming API) |
Apache Iceberg Tables on Object Storage integrate-sf-iceberg | Seconds–minutes | High | None during write (catalog metadata refresh only) | 💲 Lowest Snowflake compute | Loose (open Iceberg format) |
Latency figures measure ingestion on the Snowflake side only; Aestus data transport and transformation latency is not included in these numbers. Cost statements describe what drives the Snowflake bill; check credit rates against your cloud, region, edition and contract.
Match the integrate agent in your flow YAML to your latency target, existing infrastructure and Snowflake compute budget.
integrate-{aws,az,gcp}-objectstoreStage Avro blocks untouched in AWS S3 (integrate-aws-objectstore), Azure ADLS Gen2 / Blob (integrate-az-objectstore), or Google Cloud Storage (integrate-gcp-objectstore) and load with Snowpipe + Dynamic Tables or Tasks. Cheapest per GB, scales furthest, and keeps capture independent of Snowflake availability.
integrate-sf-snowpipe-streamingPush ordered rowsets with offset tokens straight into Snowflake table channels via Snowpipe Streaming when you want second-level latency with no bucket, no broker and no running Virtual Warehouse.
integrate-sf-kafkaIf Kafka or Event Hubs already exists, publish native Avro messages there so the Snowflake Connector for Kafka (Snowpipe Streaming) and non-Snowflake consumers share the exact same replayable stream.
integrate-sf-stageUpload raw .avro files via PUT into a Snowflake Internal Stage and run COPY INTO on a schedule. Ideal for moderate volume when you want only a Snowflake login and no external bucket IAM.
integrate-sf-sql-apiUse the HTTPS SQL REST API (or integrate-sf-sql) when upserts and corrections must land transactionally right away. Batch large blocks and keep Virtual Warehouse auto-suspend short (60 s).
integrate-sf-icebergUse integrate-sf-iceberg when the same table in S3, ADLS Gen2 or GCS must be read in place by Snowflake, Spark, Trino and DuckDB without paying Snowflake credits to ingest and rewrite data.
Each agent runs in its own container, consumes ordered Avro batches from the flow's partition queues, and advances its checkpoint only after the target acknowledges the write.
integrate-sf-sqlHolds a connection to a Snowflake Virtual Warehouse through gosnowflake (database/sql) with key-pair JWT or OAuth authentication and executes one idempotent MERGE per Avro block, binding the batch as a single JSON array parameter expanded server-side with PARSE_JSON and LATERAL FLATTEN.
Pros: Familiar transactional semantics per statement, immediate read-your-writes, and straightforward upserts, deletes and version guards (_ae_version) via MERGE with no extra infrastructure beyond the Virtual Warehouse.
Trade-offs: Each block is a DML transaction that writes new micro-partitions: small, frequent blocks fragment clustering, and concurrent MERGEs on the same table contend for locks. Avro must be transcoded, and if the warehouse is suspended or resizing, the agent waits on it.
Performance & cost: ~0.3–2 s statement overhead on a warm warehouse (500–10,000 rows per MERGE; keep under 1 commit/s per table). Virtual Warehouse credits are billed per second (with a 60 s minimum on resume)—a steady trickle prevents auto-suspend and keeps the warehouse burning credits 24/7.
Ownership: You operate integrate-sf-sql · Snowflake operates Virtual Warehouse.
integrate-sf-sql-apiSubmits multi-row MERGE statements over plain HTTPS (POST /api/v2/statements) using RSA key-pair JWTs or OAuth tokens, waiting synchronously or polling statement handles asynchronously.
Pros: Pure standard-library HTTPS and JSON with no gosnowflake driver and no long-lived sessions. Works cleanly in minimal containers or restricted environments using key-pair JWTs or OAuth service principals.
Trade-offs: Shares the statement-per-block, micro-partition fragmentation, warehouse-in-critical-path and Avro-transcoding trade-offs of the SQL driver. Request payloads and bind variables have size limits, and endpoint rate limits apply at high submission frequency.
Performance & cost: Similar latency and throughput to database/sql without session setup overhead. Identical credit cost profile: the SQL REST API endpoint is free, and the Virtual Warehouse drives the bill.
Ownership: You operate integrate-sf-sql-api · Snowflake operates Virtual Warehouse.
integrate-sf-stageUploads each Avro block unchanged as a deterministic .avro file into a Snowflake Internal Named or Table Stage (@<schema>.<stage>) via presigned stage PUT, then triggers a periodic COPY INTO (or leaves loading to a scheduled Task or Snowpipe).
Pros: Zero transcoding: native Avro is stored and parsed directly (TYPE = AVRO with MATCH_BY_COLUMN_NAME or VARIANT). Uploads need no running warehouse so files accumulate safely while compute is suspended, using only a Snowflake login—no customer cloud IAM setup required.
Trade-offs: End-to-end latency equals the COPY INTO or Task schedule (typically minutes). Small unbuffered blocks create small staged files, and files reside inside Snowflake-managed stage storage rather than your own open cloud bucket.
Performance & cost: Loads thousands of staged Avro files in seconds to minutes. Low credit cost because the warehouse or Task runs only for the duration of each scheduled COPY INTO.
Ownership: You operate integrate-sf-stage, COPY INTO / Task schedule · Snowflake operates Internal Stage, Virtual Warehouse / Snowpipe.
integrate-aws-objectstoreintegrate-az-objectstoreintegrate-gcp-objectstoreDedicated single-cloud objectstore agents—integrate-aws-objectstore for AWS S3 & S3-compatible stores (s3://), integrate-az-objectstore for Azure Blob Storage & ADLS Gen2 (abfss://, wasbs://, az://), and integrate-gcp-objectstore for Google Cloud Storage (gs://), plus integrate-fs-objectstore for local staging (file:///)—write Hive-partitioned (dt=YYYY-MM-DD/hour=HH/) Avro OCF (.avro), Parquet (.parquet), JSON (.json), XML (.xml), or CSV (.csv) batches. A Snowflake External Stage + Snowpipe (AUTO_INGEST = TRUE) or scheduled COPY INTO loads new files, and a Dynamic Table or Stream + Task applies _ae_version upserts and deletes.
Pros: Most decoupled and lightweight: each variant is compiled for a single cloud SDK, needs only bucket/container credentials, and never talks to Snowflake—so account maintenance or warehouse suspension never slows the flow. Zero transcoding keeps raw Avro in your bucket as a permanent, replayable bronze layer.
Trade-offs: More moving parts to provision once (bucket, Snowflake Storage Integration & External Stage, S3/Event Grid/PubSub notifications for AUTO_INGEST, and a Dynamic Table or Stream + Task for upserts/deletes). Small blocks should be buffered into tens of MB to minimize per-file Snowpipe overhead.
Performance & cost: Highest throughput ceiling (GB/s to TB/day) and lowest credit cost per GB. Latency vs. cost is a configuration knob: run scheduled COPY INTO + Tasks on an X-Small warehouse, or run Snowpipe + Dynamic Tables with a 1-minute target lag.
Ownership: You operate integrate-aws-objectstore | integrate-az-objectstore | integrate-gcp-objectstore, bucket, IAM · Snowflake operates External Stage, Snowpipe, Dynamic Tables / Streams & Tasks.
integrate-sf-kafkaPublishes each change as a keyed Avro binary message (ordered by group key) to Kafka, Confluent, MSK, Redpanda, Azure Event Hubs or GCP Managed Kafka. The Snowflake Connector for Kafka (using Snowpipe Streaming and schematization) reads the topic, decodes Avro via Schema Registry, and streams rows into Snowflake.
Pros: Seconds of latency and very high throughput with topic retention, back-pressure and replay. Enables fan-out so non-Snowflake consumers read the same stream, integrates with Confluent Schema Registry, and decouples the Aestus agent from Snowflake availability.
Trade-offs: Requires operating or paying for an external Kafka / Event Hubs broker plus Kafka Connect workers running the Snowflake connector. Lands change records append-only, so a Dynamic Table or Stream + Task is needed to deduplicate and apply _ae_version upserts and deletes.
Performance & cost: Scales to millions of messages/s across partitions with second-level latency. Low serverless Snowpipe Streaming credit cost inside Snowflake, plus external broker and Kafka Connect infrastructure cost.
Ownership: You operate integrate-sf-kafka, Kafka / Event Hubs broker, Kafka Connect · Snowflake operates Snowpipe Streaming ingest & Dynamic Table / Task.
integrate-sf-snowpipe-streamingStreams ordered row batches directly into Snowflake table channels over the Snowpipe Streaming API with client-managed offset tokens—with no Virtual Warehouse, internal/external stage, bucket or message broker in between.
Pros: Simplest topology and lowest latency among warehouse-free options: rows are queryable in Snowflake within seconds (~1 s flush cadence). Ordered channels with durable offset tokens map 1:1 to Aestus broker checkpoints for exact recovery, with usage-based serverless credit billing (idle flows cost nothing).
Trade-offs: Snowflake-proprietary streaming protocol with no local server emulator. Does not accept raw Avro files (transcodes batches into rowset buffers) and writes append-only (pair with a Dynamic Table or Task for _ae_version merges).
Performance & cost: Tens of MB/s per channel (scale out across partitions and agent replicas) with sub-5-second latency. Low, usage-based serverless credit cost tied to active channels and ingested volume rather than running warehouses.
Ownership: You operate integrate-sf-snowpipe-streaming · Snowflake operates Snowpipe Streaming serverless ingest service.
integrate-sf-icebergDecodes each Avro batch in Go, writes Parquet data files and equality-delete files with Apache Iceberg manifests to your cloud bucket (s3://, abfss://, gs://), and commits table snapshots via an Iceberg REST Catalog (Snowflake Open Catalog / Polaris) or External Volume metadata refresh.
Pros: Zero vendor lock-in and zero Snowflake compute spent on ingestion or file parsing: Snowflake queries the open Apache Iceberg table directly in place alongside Spark, Trino, DuckDB or Databricks. Preserves full schema evolution and snapshot time travel in your own bucket.
Trade-offs: Requires managing an Iceberg catalog (Open Catalog / Polaris, AWS Glue, or object-storage metadata) plus background compaction of small Parquet and equality-delete files so read queries stay fast. Avro blocks are transcoded to Parquet in the agent.
Performance & cost: High batch throughput with minimal Snowflake credit burn—Snowflake only refreshes catalog metadata on commit and uses warehouse credits when queries actually read the table.
Ownership: You operate integrate-sf-iceberg, bucket, Iceberg catalog & compaction · Snowflake operates External Volume, Catalog Integration & query engine.
Cross-cutting guarantees shared by every Snowflake integrate agent in Aestus CDC.
Aestus already carries change batches as self-describing, compressed Avro (timestamp-micros, exact decimals, embedded writer schema). The stage and objectstore agents forward those bytes unchanged as .avro files; kafka emits binary Avro per message; direct and Iceberg writers decode the typed contract at the edge.
Small, frequent DML statements fragment Snowflake micro-partitions and prevent Virtual Warehouse auto-suspend. Aestus buffers blocks by row count, byte size or time window before writing files or committing MERGE statements, keeping direct writers well under one commit per second per table.
Every agent advances its broker checkpoint only after target acknowledgement. SQL agents guard rows with _ae_version and _ae_tombstones; file agents use deterministic tx-<firstSeq>-<lastSeq>.avro names with COPY INTO file tracking; Snowpipe Streaming binds channel offset tokens to broker sequences.
Each agent runs in its own container with credentials injected from runtime secrets (Podman, Docker, or Kubernetes Secrets): RSA key-pair JWTs or OAuth service principals for Snowflake endpoints, or bucket/broker-only keys for objectstore and kafka that never touch the Snowflake account. Failed rows trigger automatic source recapture.
Operational and reporting SQL databases: PostgreSQL, MySQL, SQL Server, Oracle and SQLite.
ExploreCloud lakehouses, open table formats, and object storage: Databricks, Snowflake, Delta Lake, Apache Iceberg, S3, ADLS Gen2, GCS, and local storage.
ExploreDocument, key-value, and wide-column stores: MongoDB, Cosmos DB, DynamoDB, Firestore, Cassandra, and Redis.
ExploreProperty graphs in Neo4j and Neptune, plus graphs modeled inside PostgreSQL, MongoDB, SQL Server, and Oracle.
ExploreTurn any database, lakehouse, or file drop into live AI search and RAG with in-flight vectorization and vector stores.
ExploreApplication APIs and enterprise message brokers: push changes to services and streams, or start flows from them.
ExploreWant to benchmark these agents against your Snowflake workload? Write to [email protected].