E - the type of the event.public interface KafkaMessageEncoder<E>
E and return a {byte[]}.
This Encoder should naturally be referential transparent.| Modifier and Type | Method and Description |
|---|---|
byte[] |
doEncode(E event)
Encodes a loggingEvent into a byte array.
|
byte[] doEncode(E event)
event - the loggingEvent to be encoded.Copyright © 2015–2016. All rights reserved.