Last active
October 5, 2016 14:05
-
-
Save feczo/c6aee14b35ed19cbabb9c2a7a9f51248 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# export PROJECT=my-project-x | |
# export STAGE=gs://my-bucket-x/ds | |
mvn compile exec:java \ | |
-Dexec.mainClass=com.google.cloud.dataflow.examples.complete.StreamingLogExtract \ | |
-Dexec.args="--project=$PROJECT \ | |
--stagingLocation=$STAGE \ | |
--pubsubTopic='projects/""$PROJECT""/topics/custom_logs' \ | |
--bigQueryDataset='dataflow_demo' \ | |
--bigQueryTable='custom_logs' \ | |
--runner=DataflowPipelineRunner --workerMachineType='n1-standard-1' --streaming=true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment