-
Notifications
You must be signed in to change notification settings - Fork 54
Cap'n Proto Encoder
Frank Denis edited this page Jan 12, 2017
·
5 revisions
Cap'n Proto is by far the fastest supported output format.
It can be selected in the [output]
section of the configuration file:
[output]
format = "capnp"
framing = "capnp"
Records are serialized using the record.capnp file.
Additional key/value pairs can be unconditionally added to all messages with a [output.capnp_extra]
section:
[output]
format = "capnp"
framing = "capnp"
[output.capnp_extra]
x-header1 = "x-header1 value"
x-header2 = "x-header2 value"
Cap'n Proto is ideal to forward data from a flowgger instance to another instance. It is guaranteed to be more compact and faster than other formats.