Java sdk and proto payload converters (binary vs json)


Java sdk comes with multiple proto payload converters: binary and via json representation. What is your way of thinking about those? In which case you would recommend to use one over the other? Would one offer better schema change controls over other?


We default to JSON as it allows us to see human-readable values in UI/CLI. The binary encoding will not be comprehensible there.

Makes sense. So there the difference boils down to how easy it would be to operate with human readable payloads vs not.

Yes. Theoretically, it is possible to create a codec server that would convert binary to text for UI/CLI. But this codec server would need to have access to all proto definitions.