文档化和解释所有配置变量变成了一项艰巨的任务, 就像用文字来解释代码一样. 目前正在进行修剪和简化配置的工作.
The de-facto configuration list is located in config.go.
配置解析的代码位于config.go.
你无疑对配置一些基本组件感兴趣: 后端数据库、主机发现. 你可以选择使用Pseudo-GTID. 你可能希望orchestrator
在故障时发出通知, 或者你可能希望运行全面的自动恢复.
Use the following small steps to configure orchestrator
:
-
Configuration: Raft configure aOrchestrator/raft, consensus clusterfor high availability
-
Security: SeeSecuritysection.
-
Configuration: Key-Value storesconfigure and use key-value stores for master discovery.
为方便起见, 这个示例配置文件是GitHub生产环境中使用的orchestrator
配置.