The idea is to keep the bytes field always present, but to change utf8 field to decoded and provide an option to specify the type (maybe per-topic), providing internal default for string and json, plus a program type that'd call the specified external binary. Binary would take the bytes in, and spit the json to stdout (or an error to stderr).
The idea is to keep the
bytes
field always present, but to changeutf8
field todecoded
and provide an option to specify the type (maybe per-topic), providing internal default forstring
andjson
, plus aprogram
type that'd call the specified external binary. Binary would take the bytes in, and spit the json to stdout (or an error to stderr).