Mode

Parameters

  1. mode (?): # Default value is Standalone
  2. type: # Type of mode configuration. Values could be: Standalone, Cluster
  3. repository (?): # Persist repository configuration

Standalone Mode

  1. mode:
  2. type: Standalone
  3. repository:
  4. type: # Type of persist repository
  5. props: # Properties of persist repository
  6. foo_key: foo_value
  7. bar_key: bar_value
  1. mode:
  2. type: Cluster
  3. repository:
  4. type: # Type of persist repository
  5. props: # Properties of persist repository
  6. namespace: # Namespace of registry center
  7. server-lists: # Server lists of registry center
  8. foo_key: foo_value
  9. bar_key: bar_value

Notes

  1. Cluster mode deployment is recommended for production environment.
  2. The ZooKeeper registry center is recommended for cluster mode deployment.
  3. If there is configuration information in the ZooKeeper, please refer to the config information there.

Sample

Standalone Mode

  1. mode:
  2. type: Standalone
  3. repository:
  4. type: JDBC
  1. mode:
  2. type: Cluster
  3. repository:
  4. type: ZooKeeper
  5. props:
  6. namespace: governance
  7. server-lists: localhost:2181
  8. retryIntervalMilliseconds: 500
  9. timeToLiveSeconds: 60