TOML is very limited now for sozu's use cases, we should move to a more flexible format like Dhall or KDL
one of the main pain points is about routing: we want to route depending on various parameters like hostname, path (prefix or regex), headers, do SNI or TCP proxying, add filters... And it's the same for backends, where we might want to add specific options for health checks, load balancing...
The current TOML approach is an array of JSON like lines (that cannot span multiple lines each), it's quite annoying to manage
Changing the format will also be a good opportunity to change the parameters and how they are organized.
TOML is very limited now for sozu's use cases, we should move to a more flexible format like Dhall or KDL
one of the main pain points is about routing: we want to route depending on various parameters like hostname, path (prefix or regex), headers, do SNI or TCP proxying, add filters... And it's the same for backends, where we might want to add specific options for health checks, load balancing...
The current TOML approach is an array of JSON like lines (that cannot span multiple lines each), it's quite annoying to manage
Changing the format will also be a good opportunity to change the parameters and how they are organized.
Examples for inspiration: