I have written pyton code which reads data from mongodb collection and writes it to gcs bucket.
My dataflow pipeline is as below:
p | ReadFromMong