Skip to content

Instantly share code, notes, and snippets.

@davideanastasia
Last active June 5, 2018 21:59
Show Gist options
  • Save davideanastasia/dece85a5e2dfdd80bb57ac40fbed0ac8 to your computer and use it in GitHub Desktop.
Save davideanastasia/dece85a5e2dfdd80bb57ac40fbed0ac8 to your computer and use it in GitHub Desktop.
Apache Beam Getting Standard - #1
public class Indexer {
public static void main(String[] args) throws Exception {
Options options = PipelineOptionsFactory.fromArgs(args)
.withValidation()
.as(Options.class);
Pipeline p = Pipeline.create(options);
// ...
p.run().waitUntilFinish();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment