THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Other configuration formats are open for discussion throughout the IEP finalization.
Both HOCON and JSON formats don't preserve keys order when parsed, it's a part of the specification. So it's proposed to have extra syntax for elements that require strict order:
Code Block | ||||
---|---|---|---|---|
| ||||
// Default syntax.
root.namedList {
key1 { value = val1 },
key2 { value = val2 }
}
// Specific syntax for when order must be preserved.
root.namedList = [
{ elementName = key1, value = val1 },
{ elementName = key2, value = val2 }
] |
...
Global and local properties are naturally stored in different configuration trees, for example cluster and node respectively:
...
language | text |
---|---|
title | Global tree |
...
Code Block | ||||
---|---|---|---|---|
| ||||
node.rebalance.threads = 4 |
...