Error Property Files

inc_error.properties is an idiom you can adopt to configure all of the common error settings across your workflows instead of configuring on a per processor basis - which you can do if you choose.


Settings

SettingDescription
error.limits.maxnumber of errors allowed per interval before the service disables itself
error.limits.intervallength of time interval (15m, 1h, etc).

TEDI has a simplistic approach to error handling and retries; conceptually it works this way:

  • try something
  • on failure, pause before retrying
  • if retries are exhausted, bail
while tries < max-tries {
    result = execute(...)

    if result != success
        random pause [0,n)

    if tries > max-tries
        bail "all attempts failed"
}