...
Each entry represents one key-value pair. By default, the following configuration settings are supported:
Key | Default value | Description | See |
---|---|---|---|
net.node.name | OdysseusNode | Human-readable non-unique name of the OdysseusNode. If value is OdysseusNode , a randomly generated 4-digit number is added to the name (e.g., OdysseusNode_1234 ). | |
net.node.group | OdysseusGroup | Name of the group the node is participating in. The node connects only to other nodes with the same NodeGroup. Groups are only considered when net.connect.selector.name = GroupSelectorComponent | OdysseusNet |
net.node.preserveid | false | If true, the generated nodeID is saved and restored after each start of OdysseusNet. |
net.autostart | false | If true, OdysseusNet is actived immediately when Odysseus starts. | OdysseusNet |
net.remoteUpdate | false | If true, the node allows update/restart/reinstall-signals from remote nodes to be processed (do not set to true if using OdysseusStudio!). This setting is useful e.g., for RaspberryPi and remote updates. | Update/Restart/Reinstall |
net.logging.receive | false | If true, the node receives and prints log messages from remote nodes. | Logging |
net.querydistribute.minport | 10000 | Sets the minimum port number which is allowed to be used in transmitting data stream between distributed query parts (useful for configuring firewalls). | |
net.querydistribute.maxport | 20000 | Sets the maximum port number which is allowed to be used in transmitting data stream between distributed query parts (useful for configuring firewalls). | |
net.querydistribute.randomport | false | If true, a port is randomly selected between net.querydistribute.minport and net.querydistribute.maxport . If false, free ports are selected in sequence (beginning with net.querydistribute.minport ). | |
net.querydistribute.preprocess | <empty> | Comma-separated list of strategies of preprocessors, which are used during query distribution if the user had not specified one in the query. | |
net.querydistribute.partition | querycloud | Default strategy for partitioning queries during query distribution if the user had not specified one in the query. | |
net.querydistribute.modification | <empty> | Comma-separated list of strategies of modifications, which are used during query distribution if the user had not specified one in the query. | |
net.querydistribute.allocation | querycount | Default strategy for allocating query parts to nodes if the user had not specified one in the query. | |
net.querydistribute.postprocess | merge | Comma-separated list of strategies of postprocessors, which are used during query distribution if the user had not specified one in the query. | |
net.discoverer.interval | 5000 | Time interval in milliseconds in which the node discoverer checks for new OdysseusNodes in the network. | Discovery of OdysseusNodes |
net.discoverer.name | BroadcastOdysseusNodeDiscoverer | Name of the discoverer to be used to detect other nodes in the network. | Discovery of OdysseusNodes |
net.source.lifetime | 3600000 | Time in milliseconds in which a source definition is distributed across the network. | Distributing data sources |
net.dd.local | true | If true, the node stores distributed data locally. | Distribution of (static) data |
net.dd.checkinterval | 30000 | Time interval in milliseconds in which the node checks for invalid distributed data (e.g., exceeded lifetimes). | Distribution of (static) data |
net.connect.selector.name | GroupSelectorComponent | Name of the selector which decides which connections the node has to establish. | Connection to OdysseusNodes |
If OdysseusNet reads a configuration setting and the value is somewhat invalid, it uses the default value.