Module codecs

Module codecs 

Source
Expand description

A collection of codecs that can be used to transform between bytes streams / byte messages, byte frames and structured events.

Structs§

BatchEncoder
An encoder that encodes batches of events.
Decoder
A decoder that can decode structured events from a byte stream / byte messages.
DecodingConfig
Config used to build a Decoder.
Encoder
An encoder that can encode structured events into byte frames.
EncodingConfig
Encoding configuration. Configures how events are encoded into raw bytes. The selected encoding also determines which input types (logs, metrics, traces) are supported.
EncodingConfigWithFraming
Encoding configuration.
ReadyFrames
A stream combinator aimed at improving the performance of decoder streams under load.
Transformer
Transformations to prepare an event for serialization.

Enums§

BatchSerializer
Serializers that support batch encoding (encoding all events at once).
EncoderKind
An wrapper that supports both framed and batch encoding modes.
SinkType
The way a sink processes outgoing events.
TimestampFormat
The format in which a timestamp should be represented.