Mode Configuration

Configuration Item Explanation

mode (?): # Default value is Memory
  type: # Type of mode configuration. Values could be: Memory, Standalone, Cluster
  repository (?): # Persist repository configuration. Memory type does not need persist
  overwrite: # Whether overwrite persistent configuration with local configuration

Memory Mode

mode:
  type: Memory

Standalone Mode

mode:
  type: Standalone
  repository:
    type: # Type of persist repository
    props: # Properties of persist repository
      foo_key: foo_value
      bar_key: bar_value
  overwrite: # Whether overwrite persistent configuration with local configuration

Cluster Mode

mode:
  type: Cluster
  repository:
    type: # Type of persist repository
    namespace: # Namespace of registry center
    serverLists: # Server lists of registry center
    props: # Properties of persist repository
      foo_key: foo_value
      bar_key: bar_value
  overwrite: # Whether overwrite persistent configuration with local configuration

Please refer to Builtin Persist Repository List for more details about type of repository.