Re-Running DataFlow Jobs – Cloud Composer

Use Case : Data Flow pipeline reads a CSV file every morning at 8 AM (or any other source file, like a JSON file) to process it before storing the cleansed data in BigQuery. What if the file changes during the work day? What is the best way to allow Data Flow to pick up the changes?

Solution: Use Cloud Composer. Create a custom sensor to detect if the file has changed. If so, re-run the dataflow pipeline.

 

 

anuj

I am passionate about getting cloud solutions right the first time. I help customers transition to the public cloud with the appropriate security controls and guardrails. GCP, AWS and Azure Security Specialist. <a href="https://calendly.com/anujvarma/google-cloud-architect-initial-consultation">Initial Consultation</a>

Leave a reply

Your email address will not be published. Required fields are marked *