HEADS UP Changes planned for version 1.2.0

7 Feb
2017
7 Feb
'17
7:17 p.m.
Hello all, In order to reduce thread contention, especially on CPU starved machines, encoders are no longer responsible for writing to an OutputStream. Here is the new Encoder interface. public interface Encoder<E> extends ContextAware, LifeCycle { byte[] headerBytes(); byte[] encode(E event); byte[] footerBytes(); } As you can see, the above Encoder interface does not take in an OutputStream as a parameter. Comments welcome, -- Ceki
3160
Age (days ago)
3160
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ceki Gülcü