// mock master rpc interface
MockMasterRPC svr = new MockMasterRPC();
// collector side, receive acks messages, checks acks, and notifies master.
AckChecksumChecker<EventSink> chk = new AckChecksumChecker<EventSink>(
new ConsoleEventSink(), new CollectorAckListener(svr));
// agent side, inject ack messages
WALAckManager aac = new WALAckManager(svr, new AckListener.Empty(),
FlumeConfiguration.get().getAgentAckedRetransmit());
byte[] tag = "canned tag".getBytes();