Created
March 30, 2019 09:13
-
-
Save evmin/c818523cc47d80c7953bd43f759cfa47 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
from("google-pubsub:{{gcp_project_id}}:demo.event.bigquery") | |
.routeId(ROUTE_ID) | |
.to("jolt:transforms/demo_event.json?inputType=JsonString") | |
.setHeader(GoogleBigQueryConstants.PARTITION_DECORATOR,simple("${date:now:yyyyMMdd}")) | |
.log("Demo Event processed : ${body}") | |
.to("google-bigquery:{{gcp_project_id}}:demo:demo_event") | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment