Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
/ jconfig Public archive

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.

License

Notifications You must be signed in to change notification settings

lafaspot/jconfig

Repository files navigation

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.

Table of Contents

Background

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. More detailed document is here

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.

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 go to https://travis-ci.org/lafaspot/jconfig

Contribute

Please refer to the contributing.md for information about how to get involved. We welcome issues, questions, and pull requests. Pull Requests are welcome.

Maintainers

Luis Alves: (lafa at verizonmedia.com)

License

This project is licensed under the terms of the Apache 2.0 open source license. Please refer to LICENSE for the full terms.

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

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages