32
.env.example
32
.env.example
@@ -28,6 +28,10 @@ DORIS_CONNECTION_TIMEOUT=30
|
||||
DORIS_HEALTH_CHECK_INTERVAL=60
|
||||
DORIS_MAX_CONNECTION_AGE=3600
|
||||
|
||||
# Arrow Flight SQL Configuration (Required for ADBC tools)
|
||||
# FE_ARROW_FLIGHT_SQL_PORT=
|
||||
# BE_ARROW_FLIGHT_SQL_PORT=
|
||||
|
||||
# ===================================================================
|
||||
# Security Configuration
|
||||
# ===================================================================
|
||||
@@ -66,6 +70,21 @@ QUERY_TIMEOUT=300
|
||||
# Response content size limit (characters)
|
||||
MAX_RESPONSE_CONTENT_SIZE=4096
|
||||
|
||||
# ===================================================================
|
||||
# ADBC (Arrow Flight SQL) Configuration
|
||||
# ===================================================================
|
||||
# Enable/disable ADBC tools
|
||||
ADBC_ENABLED=true
|
||||
|
||||
# Default ADBC query parameters
|
||||
ADBC_DEFAULT_MAX_ROWS=100000
|
||||
ADBC_DEFAULT_TIMEOUT=60
|
||||
# Format: "arrow", "pandas", "dict"
|
||||
ADBC_DEFAULT_RETURN_FORMAT=arrow
|
||||
|
||||
# ADBC connection timeout
|
||||
ADBC_CONNECTION_TIMEOUT=300
|
||||
|
||||
# ===================================================================
|
||||
# Logging Configuration
|
||||
# ===================================================================
|
||||
@@ -114,7 +133,7 @@ ALERT_WEBHOOK_URL=
|
||||
|
||||
# Basic server information
|
||||
SERVER_NAME=doris-mcp-server
|
||||
SERVER_VERSION=0.4.3
|
||||
SERVER_VERSION=0.5.0
|
||||
SERVER_PORT=3000
|
||||
|
||||
# Temporary files directory
|
||||
@@ -165,4 +184,13 @@ TEMP_FILES_DIR=tmp
|
||||
# 4. Connection Pool Optimization:
|
||||
# - DORIS_MAX_CONNECTIONS recommended to be 2-4 times the number of CPU cores
|
||||
# - DORIS_CONNECTION_TIMEOUT adjust based on network latency
|
||||
# - DORIS_MAX_CONNECTION_AGE recommended 1 hour to avoid long connection issues
|
||||
# - DORIS_MAX_CONNECTION_AGE recommended 1 hour to avoid long connection issues
|
||||
|
||||
# 5. ADBC (Arrow Flight SQL) Configuration:
|
||||
# - FE_ARROW_FLIGHT_SQL_PORT and BE_ARROW_FLIGHT_SQL_PORT: Required for ADBC functionality
|
||||
# - ADBC_DEFAULT_MAX_ROWS: Default maximum rows for ADBC queries (recommended: 100000)
|
||||
# - ADBC_DEFAULT_TIMEOUT: Default timeout for ADBC queries in seconds (recommended: 60)
|
||||
# - ADBC_DEFAULT_RETURN_FORMAT: Default return format (arrow/pandas/dict, recommended: arrow)
|
||||
# - ADBC_CONNECTION_TIMEOUT: Connection timeout for ADBC (recommended: 30)
|
||||
# - ADBC_ENABLED: Enable or disable ADBC tools (true/false)
|
||||
# - Prerequisites: Install adbc_driver_manager, adbc_driver_flightsql, pyarrow packages
|
||||
Reference in New Issue
Block a user