mozilla-services/heka — pull request #903 by ianneub (2014-06-13 19:40:12+00:00)
Title: Added ProtobufEncoderConfig struct with an option to IncludeFraming

This PR adds a config struct to `ProtobufEncoder` that allows setting an optional `IncludeFraming` parameter. When set to true (the default) `ProtobufEncoder` works as it does now and calls `EncodeMessageStream` to encode the message. When set to false `EncodeMessage` will be used to encode the message.

This PR fixes #902.