Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.59 KB

STANDALONE.md

File metadata and controls

24 lines (15 loc) · 1.59 KB

Standalone

Configuration

The standalone ecChronos can be configured through the file conf/ecc.yml.

Custom connection providers

In order to use custom connection providers in the standalone version of ecChronos there are a few things that needs to be considered.

  1. There must be a default constructor that takes Config and Supplier as an argument.
  2. The native connection provider must use DataCenterAwarePolicy which is located in the connection module.

The provided configuration argument is read from the file ecc.yml so that custom connection providers could use the same configuration file if needed.

Examples of implementations can be found in:

In order to use the custom connection providers simply drop in the jar file in the lib directory of ecChronos and specify the full class name of the respective connection providers.