EventSink snk = new CompositeSink(ctx, "counter(\"total." + idx
+ "\")");
// use the same wal, but different counter.
snk = new NaiveFileWALDeco(ctx, snk, wal, new TimeTrigger(
new ProcessTagger(), 1000000), new AckListener.Empty(), 1000000);
src.open();
snk.open();
start.await();
EventUtil.dumpAll(src, snk);