| Crates.io | conveyor-etl-router |
| lib.rs | conveyor-etl-router |
| version | 0.1.0 |
| created_at | 2025-12-23 03:00:40.684104+00 |
| updated_at | 2025-12-23 03:00:40.684104+00 |
| description | High-availability Conveyor ETL routing layer with Raft consensus |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2000677 |
| size | 72,305 |
Main binary for the Conveyor control plane.
This crate provides the entry point for running an Conveyor node. It orchestrates all the components needed for a router cluster member: gRPC services, Raft consensus, and service registry.
cargo run -p conveyor-router -- \
--node-id 1 \
--listen-addr 127.0.0.1:50051 \
--raft-addr 127.0.0.1:50052 \
--peers 127.0.0.1:50053,127.0.0.1:50054 \
--data-dir ./data
| Argument | Description | Default |
|---|---|---|
--config, -c |
Path to configuration file | config/router.yaml |
--node-id, -n |
Unique Raft node identifier | Required |
--listen-addr, -l |
gRPC server bind address | 127.0.0.1:50051 |
--raft-addr |
Raft RPC bind address | 127.0.0.1:50052 |
--peers |
Comma-separated Raft peer addresses | None |
--data-dir |
Persistent storage directory | ./data |
┌─────────────────────────────────────────────────────┐
│ conveyor-router │
├─────────────────────────────────────────────────────┤
│ ┌─────────────────────────┐ ┌─────────────┐ │
│ │ gRPC Server │ │ Raft Node │ │
│ │ :50051 │ │ :50052 │ │
│ └───────────┬─────────────┘ └──────┬──────┘ │
│ │ │ │
│ └───────────┬───────────┘ │
│ │ │
│ ┌────────▼─────────┐ │
│ │ Service Registry │ │
│ │ (Raft State) │ │
│ └──────────────────┘ │
└─────────────────────────────────────────────────────┘
--listen-addr): Service registry, sidecar coordination, checkpoint management--raft-addr): Inter-node consensus protocolcluster:
election_timeout_ms: 300
heartbeat_interval_ms: 100
snapshot_interval: 10000
buffer:
max_total_records: 100000
max_per_stage: 10000
backpressure_threshold: 0.8
grpc:
max_message_size: 16777216
keepalive_interval_secs: 30
conveyor-grpc - gRPC service implementationsconveyor-raft - Raft consensusconveyor-config - Configuration loading