Batch writes to Google Cloud Firestore using the Apache Beam Java SDK on Google Cloud Dataflow On how to leverage Apache Beam DoFn lifecycle methods to optimize writing to Google Cloud Firestore, when running in Google Cloud Dataflow.