spqr-router
Usage:
spqr-router [command]
Available Commands:
help Help about any command
run run router
test-config Load, validate and print the given config file
Flags:
--admin-port admin_console_port overload for admin_console_port option in router config
--advisory-lock-behaviour advisory_lock_behaviour overload for advisory_lock_behaviour option in router config
-c, --config string path to router config file (default "/etc/spqr/router.yaml")
--console daemonize run as a console app or not. Opposite of daemonize
--coordinator-config string path to coordinator config file (default "/etc/spqr/coordinator.yaml")
--cpu-profile profile cpu or not
-d, --daemonize console run as a daemon or not. Opposite of console
--default-route-behaviour default_route_behaviour overload for default_route_behaviour option in router config
--display_greeting enables SPQR console greeting (default true)
-e, --enhanced_multishard_processing enables SPQR query processing engine V2
--gomaxprocs int GOMAXPROCS value
--grpc-port grpc_api_port overload for grpc_api_port option in router config
-h, --help help for spqr-router
-l, --log-level log_level overload for log_level option in router config
--logger-config string path to logger config file
--mem-profile profile mem or not
--memqdb-backup-path memqdb_backup_path overload for memqdb_backup_path option in router config
--pgproto-debug pgproto_debug overload for pgproto_debug option in router config
-P, --pretty-log enables pretty logging
-p, --profile-file string path to profile file (default "/etc/spqr/router.prof")
--qdb-impl string which implementation of QDB to use (default "etcd")
--router-port router_port overload for router_port option in router config
--router-ro-port router_ro_port overload for router_ro_port option in router config
--show-notice-messages show_notice_messages overload for show_notice_messages option in router config
--use_coordinator_init do use coordinator based metadata initialization
-v, --version version for spqr-router
--with-coordinator start spqr coordinator in separate goroutine
Use "spqr-router [command] --help" for more information about a command.
Options (27)
| Option | Description | Source |
|---|---|---|
--admin-port admin_console_port | overload for admin_console_port option in router config | help |
--advisory-lock-behaviour advisory_lock_behaviour | overload for advisory_lock_behaviour option in router config | help |
-c, --config string | path to router config file (default "/etc/spqr/router.yaml") | help |
--console daemonize | run as a console app or not. | help |
--coordinator-config string | path to coordinator config file (default "/etc/spqr/coordinator.yaml") | help |
--cpu-profile | profile cpu or not | help |
-d, --daemonize console | run as a daemon or not. | help |
--default-route-behaviour default_route_behaviour | overload for default_route_behaviour option in router config | help |
--display_greeting | enables SPQR console greeting (default true) | help |
-e, --enhanced_multishard_processing | enables SPQR query processing engine V2 | help |
--gomaxprocs int | GOMAXPROCS value | help |
--grpc-port grpc_api_port | overload for grpc_api_port option in router config | help |
-h, --help | help for spqr-router | help |
-l, --log-level log_level | overload for log_level option in router config | help |
--logger-config string | path to logger config file | help |
--mem-profile | profile mem or not | help |
--memqdb-backup-path memqdb_backup_path | overload for memqdb_backup_path option in router config | help |
--pgproto-debug pgproto_debug | overload for pgproto_debug option in router config | help |
-P, --pretty-log | enables pretty logging | help |
-p, --profile-file string | path to profile file (default "/etc/spqr/router.prof") | help |
--qdb-impl string | which implementation of QDB to use (default "etcd") | help |
--router-port router_port | overload for router_port option in router config | help |
--router-ro-port router_ro_port | overload for router_ro_port option in router config | help |
--show-notice-messages show_notice_messages | overload for show_notice_messages option in router config | help |
--use_coordinator_init | do use coordinator based metadata initialization | help |
-v, --version | version for spqr-router | help |
--with-coordinator | start spqr coordinator in separate goroutine | help |