This module contains an implementation of the protobuf protocol of FastForward.
A basic configuration would look like the following.
input:
- type: protobuf
The protocol frames messages as UDP datagrams.
Each message is a frame prefixed with the version and the length of the entire frame.
| version | length | data |
| 4 | 4 | * |
The version field designates which version of the protocol is in use. This determines the structure of the data field.
The length field designates how long the entire frame is supposed to be, since UDP can crop the message, this is used for detecting buffer underruns.
Messages in the data field are serialized according to the protobuf protocol.
This serialization in this module piggy-backs from the implementation of ffwd-client-java.