In my case, I have the same scenario in production and I am using the *Cloud Function*, and it is working fine now. Even I am doing some lightweight processing for the data, and it is so far so good. Dataflow streaming is an alternative of course, but I didn't need it so far.
On Fri, Jun 21, 2019 at 12:12 AM Lukasz Cwik <[email protected]> wrote: > Its likely just a difference in cost and ease of implementation but Cloud > Functions seems like it may fit your use case fine. > > On Thu, Jun 20, 2019 at 5:48 AM Joshua Fox <[email protected]> wrote: > >> I need to take data that is sent over PubSub and simply store it into >> MongoDB. >> >> Is there an advantage to use Dataflow Streaming >> <https://cloud.google.com/blog/products/data-analytics/introducing-cloud-dataflows-new-streaming-engine> >> rather than Cloud Functions >> <https://cloud.google.com/functions/docs/concepts/events-triggers>, >> given that I just need a simple insertion, not any shuffling or other >> processing across time-windows? >> >> >> >> >> >> -- >> >> >> *JOSHUA FOX* >> Director, Software Architecture | Freightos >> >> >> >> *T (Israel): *+972-545691165 | *T (US)*: +1-3123400953 >> Smooth shipping. >> >> >> >> -- Soliman ElSaber Data Engineer www.mindvalley.com
