43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
# =============================================================================
|
|
# StarRocks — Frontend (FE) Configuration — SHARED-DATA
|
|
# =============================================================================
|
|
# Mode shared-data: data tabel internal disimpan di object storage S3/MinIO
|
|
# (bukan di disk lokal). Dua baris di bawah WAJIB di-set sebelum first start
|
|
# dan TIDAK bisa diubah via SQL.
|
|
#
|
|
# Penyimpanan diatur via storage volume SQL:
|
|
# CREATE STORAGE VOLUME s3_volume TYPE=S3 ...; SET s3_volume AS DEFAULT STORAGE VOLUME;
|
|
#
|
|
# External catalog Iceberg (via Nessie) tetap dikonfigurasi via SQL.
|
|
# Referensi: docs.starrocks.io/docs/deployment/deploy_shared_data_manually/
|
|
# =============================================================================
|
|
|
|
# --- Mode shared-data (WAJIB, sebelum first start) ---
|
|
run_mode = shared_data
|
|
cloud_native_storage_type = S3
|
|
|
|
# Meta data directory
|
|
meta_dir = /opt/starrocks/fe/data
|
|
|
|
# HTTP server port (redirect_url OIDC: http://<fe>:8030/api/oauth2)
|
|
http_port = 8030
|
|
|
|
# Thrift server port for CN connections
|
|
rpc_port = 9020
|
|
|
|
# MySQL server port for client connections
|
|
query_port = 9030
|
|
|
|
# Edit log port for FE cluster communication
|
|
edit_log_port = 9010
|
|
|
|
# Port internal FE untuk shared-data metadata (default 6090)
|
|
cloud_native_meta_port = 6090
|
|
|
|
# JVM configuration
|
|
JAVA_HOME = /usr/lib/jvm/java-17-openjdk-amd64
|
|
JAVA_OPTS = -Xms512m -Xmx1024m -XX:+UseG1GC
|
|
|
|
# Cluster configuration (subnet network deploy-merged)
|
|
priority_networks = 172.28.0.0/16
|