StaticValueProvider.of( FileSystems.matchNewResource(baseDir.toString(), true))) .withWindowedWrites() .withNumShards(2) .withOutputFilenames();
.to(tmpFolder.getRoot().getAbsolutePath() + "/first") .withNumShards(2) .withWindowedWrites()); readPipeline .apply("Sequence second", GenerateSequence.from(3).to(7).withRate(1, Duration.millis(300))) .to(tmpFolder.getRoot().getAbsolutePath() + "/second") .withNumShards(3) .withWindowedWrites());
.withWindowedWrites() .withNumShards(options.getNumShards()));