public void onEvent(CommandBufferEvent event, long sequence, boolean endOfBatch) throws Exception {
pushToBuffers(event);
if (endOfBatch) {
journalCommandLogs();
}
}
Note: on each duty circle
, processor batching-consumes the messages from next-of-last-consumed
slot to the endOfBatch
slot