OrbitServerConfig
class supplied to the OrbitServer
constructor has overrides for lease timing, process management, addressable and node storage, and metrics.OrbitServerConfig
class is well documented and will be the authoritative source for the latest options. Some settings, like the pipelineBufferCount
is a simple Int type. Others, like the addressableLeaseDuration
are more complex objects.ExternallyConfigured<T>
settings allow replacement of implementations of some classes, such as the Node Directory. They are settable from serialized JSON data in a configuration file. The configuration class must derive from ExternallyConfigured, where T is the interface this implementation will replace.SettingsLoader
class which loads from a JSON-formatted configuration file. This file is searched for in 3 ways:ORBIT_SETTINGS_RAW
.ORBIT_SETTINGS
environment variable, such as /etc/orbit/orbit.json
.