CLI Reference
run
Run the Kafka exporter: export topics into Snowflake, Databricks or BigQuery until stopped.
sqlload run [--max-duration DURATION] [--shard N]sqlload run is the Kafka exporter’s main command. It reads the topics that
include and exclude select and writes each one into its Snowflake, Databricks or BigQuery table
until Ctrl-C or SIGTERM, or for --max-duration. Run sqlload apply first, so
the tables, stages and pipes exist.
| Option | Meaning |
|---|---|
--max-duration <DURATION> |
Stop after this long, such as 10m. |
--shard <N> |
This instance’s index below source.shards, from 0. Also SQLLOAD_SHARD. Default: shard under [source], else 0. |
With source.shards above 1, run one instance per shard; they split the streams between them.
A --shard that isn’t below source.shards is refused:
$ sqlload run --shard 2error: --shard 2 must be below source.shards 2