Mode

Configuration Item Explanation

Memory mode

  1. schema:
  2. name: # JDBC data source alias. Optional, if it is not configured, logic_db is used as the schemaName by default, this parameter can help the configuration shared between JDBC driver and Proxy
  3. mode:
  4. type: # Memory

Standalone mode

  1. schema:
  2. name: # JDBC data source alias. Optional, if it is not configured, logic_db is used as the schemaName by default, this parameter can help the configuration shared between JDBC driver and Proxy
  3. mode:
  4. type: # Standalone
  5. repository:
  6. type: # Standalone Configuration persist type, such as: File
  7. props:
  8. path: # Configuration persist path
  9. overwrite: true # Local configurations overwrite file configurations or not; if they overwrite, each start takes reference of local configurations.

Cluster mode

  1. schema:
  2. name: # JDBC data source alias. Optional, if it is not configured, logic_db is used as the schemaName by default, this parameter can help the configuration shared between JDBC driver and Proxy
  3. mode:
  4. type: # Cluster
  5. repository:
  6. type: # Cluster persist type. Such as : Zookeeper,Etcd
  7. props:
  8. namespace: # Cluster instance namespace
  9. server-lists: # Zookeeper or Etcd server list. including IP and port number; use commas to separate
  10. overwrite: true # Local configurations overwrite config center configurations or not; if they overwrite, each start takes reference of local configurations.