Interface Encoder<E>

Type Parameters:
E - event type
All Superinterfaces:
ContextAware, LifeCycle
All Known Implementing Classes:
DummyEncoder, EchoEncoder, EncoderBase, JsonEncoder, LayoutWrappingEncoder, PatternLayoutEncoder, PatternLayoutEncoderBase

public interface Encoder<E> extends ContextAware, LifeCycle
Encoders are responsible for transform an incoming event into a byte array
Since:
0.9.19
Author:
Ceki Gülcü, Joern Huxhorn, Maarten Bosteels