Skip to content

Commit

Permalink
Create documentation on testing BigQuery from ingestion-beam.
Browse files Browse the repository at this point in the history
  • Loading branch information
acmiyaguchi committed Apr 26, 2019
1 parent 5bb0aba commit 0fc5170
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/architecture/diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions docs/diagrams/workflow.mmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
graph TD

subgraph dataops/sandbox/my-project
dataflow
bigquery
pubsub
subscription

pubsub --> |gcloud pubsub subscriptions create| subscription
subscription --> dataflow
dataflow --> bigquery
end

subgraph mozilla-pipeline-schemas
mps[repository archive]
end

subgraph ingestion-beam
src[src/]
schemas[schemas.tar.gz]
bq-schemas[bq-schemas/]

src --> |mvn compile exec:java| dataflow
mps --> |download-schemas| schemas
schemas --> |generate-bq-schemas| bq-schemas
bq-schemas --> |update-bq-table| bigquery
end
4 changes: 4 additions & 0 deletions docs/diagrams/workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0fc5170

Please sign in to comment.