Skip to main content
Version: 3.0.0

Configuring

Configuration for the load processor is specified in a JSON file.

OptionDescriptionRequired
inputPathThe path to the directory with meter energy readings CSV files.Yes
processedPathThe path to the directory where successfully processed readings files are moved.Yes
failedPathThe path to the directory where readings files that were unable to be processed are moved.Yes
ewbDataPathThe path to the ewb data directory.Yes
inputTimeZoneThe timezone of the input load readings.Yes
outputTimeZoneThe desired timezone of the processed load readings.Yes
previousDaysToSearchForNetworkNumber of days to search for the network back from the current date.Yes
syslogFacilityThe facility code to specify the type of program logging the message.
Valid Values : SYSLOG, LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7
Yes
syslogTagThe tag for the log messageYes
maxCacheSizeThe maximum number of records to cache in memory. Increasing this improves performance but requires more RAM.No
preloadCacheThresholdThe number of records for a single date in a file before caching data for that whole date into memory.No
caution

If any paths in the configuration are given as relative paths, they will be relative to the working directory of the JVM.

Sample Configuration File
{
"inputPath": "/Users/zepben/loads/readings",
"processedPath": "/Users/zepben/processed",
"failedPath": "/Users/zepben/failed",
"ewbDataPath": "/Users/zepben/ewb",
"inputTimeZone": "+10:00",
"outputTimeZone": "Australia/Melbourne",
"previousDaysToSearchForNetwork": 365,
"syslogFacility": "SYSLOG",
"syslogTag": "Load Processor"
}