Skip to content
forked from lafaspot/jconfig

Java distributed real time configuration system that is designed to scale well for multiple cpus machines and reduce contention when using large number of threads.

Notifications You must be signed in to change notification settings

jpowang/jconfig

 
 

Repository files navigation

Java distributed real time configuration system that is designed to scale well for multiple cpus machines and reduce contention when using large number of threads.

Documentation
https://github.com/lafaspot/jconfig/wiki

Usage: sh jconfig-daemon.sh [-c configDirectoryPath -l libDirectoryPath -p logDirectoryPath] 
(start|stop) 

where: 
    -c  JCONFIG loader conf directory path (required as arg or set it as env var)
    -l  lib directory path  (required as arg or set it as env var)
    -p  log directory path (optional. If not specified, logs will be written in libs directory)
    start - start ConfigLoader application 
    stop - stop ConfigLoader application. 
 
You can also specify config/lib/log directory path in form of Environment Variables. 
If both are set priority will be given to arguments passed while running script. 
   {JCONFIG_CDIR}  JCONFIG loader conf directory path. 
   {JCONFIG_HOME}  ConfigLoader lib directory path. This is the path for all dependency jars. 
   {JCONFIG_LOG_DIR} ConfigLoader log directory path.     

Example
NuclearApp in jconfig-test package consumes config via JCONFIG. If Config loader is not running it will run with defaults specified
in NuclearConfig class file.

Development 

To build before you submit a PR
$ mvn clean install

For contibutors run deploy to do a push to nexus servers
$ mvn clean deploy -Dgpg.passphrase=[pathPhrase]

All Pull requests need to pass continous integration before being merged.
Please goto https://travis-ci.org/lafaspot/jconfig
  

About

Java distributed real time configuration system that is designed to scale well for multiple cpus machines and reduce contention when using large number of threads.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.5%
  • Shell 1.5%