Map<String, Tap> sources = new HashMap<String, Tap>();
sources.put(fetchedPipe.getName(), inputSource1);
sources.put(unfetchedPipe.getName(), inputSource2);
BasePath resultsPath = platform.makePath(workingDirPath, "results");
Tap resultSink = platform.makeTap(platform.makeBinaryScheme(UrlDatum.FIELDS), resultsPath, SinkMode.REPLACE);
Pipe resultsPipe = new GroupBy("results pipe", Pipe.pipes(fetchedPipe, unfetchedPipe),
new Fields(UrlDatum.URL_FN));
resultsPipe = new Every(resultsPipe, new LatestUrlDatumBuffer(), Fields.RESULTS);