}
@Override
public void append(Event e) throws IOException, InterruptedException {
WriteableEvent we = new WriteableEvent(e);
byte[] bs = we.toBytes();
eventSize.addAndGet(bs.length);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
GZIPOutputStream gzos = new GZIPOutputStream(baos);
gzos.write(bs);