I need a good solution, preferably existing one, such as Google Rest API, for data to stream/insert into BigQuery. I don't want to use POST method to send data - for many design reasons. I am expecting 1000s of writes per seconds. The data will be appended in url's query parameters. It's very similar to what Google analytics does, sending analytics data using Get method.
Asked
Active
Viewed 255 times
3 Answers
0
Here have a gift:
http://dmitriilin.com/exporting-data-google-analytics-google-bigquery/ https://github.com/lnklnklnk/ga-bq
If you have any extra question ask me, i worked with this solution.

Marco
- 1,112
- 1
- 14
- 34
-
Thanks Marco, but I ended up using Google Cloud functions, which solved the problem. – ituring Oct 31 '17 at 10:01
0
I might also encourage you to use something like a Dataflow streaming pipeline to handle those inserts, rather than calling the API directly.

Yuri Grinshteyn
- 727
- 3
- 13
0
Google cloud functions (GCF) solved the problem. GCF is still in beta but well most google products are in beta anyway. GCF is serverless and one can write http triggers in few line of codes. For further information visit -> https://console.cloud.google.com/functions

ituring
- 11
- 5