AFS_AETHER_SERVER_ENDPOINT
Deep-dive reference for:
AFS_AETHER_SERVER_ENDPOINT
Status
active
Audience
production/user
Type and Default
- Type: URL string.
- Default: none in bridge mode (required when bridge mode is enabled).
- Allowed schemes:
httporhttps.
What It Does
Defines the bridge server endpoint Aether connects to for remote mount services.
When bridge mode is enabled, this endpoint is used to build the shared gRPC channel for lease, writeback, and changefeed clients.
Where It Applies
- Bridge-mode runtime only.
- Used during remote mount orchestration channel setup.
Input Surfaces
- Env:
AFS_AETHER_SERVER_ENDPOINT=<url> - Config file (
aether.toml):[bridge]server_endpoint = "<url>"
Resolution and Validation
Resolution order:
AFS_AETHER_SERVER_ENDPOINTbridge.server_endpointinaether.toml- Error if bridge mode is enabled and neither is set
Validation:
- Value must not be empty.
- Must parse as URL.
- Scheme must be
httporhttps.
Practical Guidance
- Use
httpsin production. - Prefer stable DNS names over ephemeral IPs when possible.
- Keep this aligned with the bridge deployment and auth policy (token/client metadata if configured).
Examples
- Env:
AFS_AETHER_SERVER_ENDPOINT=https://grpc.aetherfs.io
- TOML:
[bridge]server_endpoint = "https://grpc.aetherfs.io"
Related Variables
AFS_AETHER_WORKER_IDAFS_AETHER_RECONNECT_START_MSAFS_AETHER_RECONNECT_MAX_MSAFS_AETHER_RECONNECT_MULTIPLIERAFS_AETHER_RECONNECT_JITTER_PERCENT
Primary Implementation Sources
packages/aether/src/config/types/config_resolution.rspackages/aether-remote/src/mount/orchestrator.rspackages/aether/src/config/reload.rspackages/aether/src/config/types/tests_module.rs