Xuyen On
05/07/2026, 4:52 PMRocky
05/07/2026, 4:52 PMbash
curl --location-trusted -u <user>:<password> \
-H "format:json" -H "strip_outer_array:true" \
-T confluence_data.json \
http://<starrocks_fe_ip>:<http_port>/api/<db>/<table>/_stream_load
3. Intermediate Cloud Storage (S3/GCS + FILES())
For high-volume data, you can dump Confluence exports into a cloud bucket and query them directly in StarRocks.
* Process: Export Confluence data as CSV or JSON to an S3/GCS bucket.
* Ingest: Use the StarRocks FILES() table function to load or query the data directly without a pre-defined schema:
sql
INSERT INTO your_table
SELECT * FROM FILES(
"path" = "<s3://your-bucket/confluence/*.json>",
"format" = "json",
"aws.s3.access_key" = "...",
"aws.s3.secret_key" = "..."
);
4. Other ETL/ELT Tools
* Fivetran: While StarRocks isn't always listed as a primary destination, you can often use the MySQL Destination in Fivetran (pointing to StarRocks' MySQL-compatible port 9030) to sync data, though performance may be lower than a native connector.
* Kettle (Pentaho): Use the StarRocks Kettle connector to build a visual ETL workflow that pulls from the Confluence API.
Which one should you choose?
* For quick setup: Use Airbyte. It handles the complex API pagination and schema changes for you.
* For maximum control: Use a Python script + Stream Load.
* For massive history imports: Use the Cloud Storage + FILES() method.
()`** method.
References
• introduction/what_is_starrocks.md
• loading/Kafka-connector-starrocks.md
• data_source/External_table.md