Retro Eye care Haitian Deep Dark Default

Mode

Parameters

mode (?): # Default value is Standalone
  type: # Type of mode configuration. Values could be: Standalone or Cluster
  repository (?): # Persist repository configuration
  overwrite: # Whether overwrite persistent configuration with local configuration

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
mode:
  type: Cluster
  repository:
    type: # Type of persist repository
    props: # Properties of persist repository
      namespace: # Namespace of registry center
      server-lists: # Server lists of registry center
      foo_key: foo_value
      bar_key: bar_value
  overwrite: # Whether overwrite persistent configuration with local configuration

Notes

  1. Cluster mode deployment is recommended for production environment.
  2. The ‘ZooKeeper’ registry center is recommended for cluster mode deployment.

Sample

Standalone Mode

mode:
  type: Standalone
  repository:
    type: H2
  overwrite: false
mode:
  type: Cluster
  repository:
    type: ZooKeeper
    props: 
      namespace: governance
      server-lists: localhost:2181
      retryIntervalMilliseconds: 500
      timeToLiveSeconds: 60
  overwrite: false