Apollo 配置选项
public sealed class ApolloCfgOptions
Inheritance System.Object 🡒 ApolloCfgOptions
| Properties | |
|---|---|
| AppId | Apollo 应用 ID |
| Cluster | 集群名称,默认 "default" |
| ConnectTimeout | 连接超时时间,默认 10 秒 |
| DataFormat | 配置数据格式,默认 Properties |
| EnableHotReload | 是否启用热重载,默认 true |
| LongPollingTimeout | 长轮询超时时间,默认 90 秒 |
| MetaServer | Apollo Meta Server 地址,默认 "http://localhost:8080" |
| Namespaces | 命名空间列表,默认 ["application"] |
| Secret | 访问密钥(可选,用于访问控制) |