Hello, im trying to run a simple java application which reads data from cloud storage and writes to bigquery. Right now i have build the docker image and added to artifact registry and created a cloud run job and executed it. But I want to know
1. is cloud run job the best solution for this ? end goal is to integrate gitlab and run this whole thing as a cicd pipeline
2. If cloud run job is best solution, how can i deploy a cloud run job using cloudbuild.yaml, i could see deploy documents only for cloud run service and not for job
3. is it possible to make cloud run job event based? like if i need to make the above solution event based(when file arrives in bucket, trigger the job) what is the best way?
Thanks
1- Change Data Capture | Datastream | Google Cloud
2- Cloud Storage Text to BigQuery template | Cloud Dataflow | Google Cloud