@Override
public EventSink newSink(Context ctx) throws IOException {
String tag = tagger.newTag();
String path = logdir + Path.SEPARATOR_CHAR;
EventSink dfs = new EscapedCustomDfsSink(path, filename + tag, hiveTableName, elasticSearchUrl, elasticIndex, elasticType, runMarkerQueries);
return new RollDetectDeco(dfs, tag);
}
};
snk = new AckChecksumChecker<EventSink>(s, accum);