mode(?):# Default value is Standalonetype:# Type of mode configuration. Values could be: Standalone, Clusterrepository(?):# Persist repository configuration
Standalone Mode
mode:type:Standalonerepository:type:# Type of persist repositoryprops:# Properties of persist repositoryfoo_key:foo_valuebar_key:bar_value
Cluster Mode (recommended)
mode:type:Clusterrepository:type:# Type of persist repositoryprops:# Properties of persist repositorynamespace:# Namespace of registry centerserver-lists:# Server lists of registry centerfoo_key:foo_valuebar_key:bar_value
Notes
Cluster mode deployment is recommended for production environment.
The ZooKeeper registry center is recommended for cluster mode deployment.
If there is configuration information in the ZooKeeper, please refer to the config information there.