Chronicle-Wire
Chronicle-Wire copied to clipboard
ServiceCfg fails to read it's own YAML
This works with WireType.TEXT as the reader. It's a bug in YAML_ONLY parsing.
The problem is a workaround for detecting if a value is a marshallable or a string, rewinding the bytes and trying again. This strategy can't be supported in YAML as it's stateful and rewinding isn't enough. The solution is to support converting from text to an object in wire. This will require a change in services.
c.f. https://github.com/OpenHFT/Chronicle-Wire/pull/826