Search code examples
google-cloud-platformgoogle-cloud-rungoogle-cloud-tasks

Is it possible to simulate a Google Cloud Task locally?


I'm working on a Cloud Run docker application that handles a few long-running data integration processes.

I'm struggling to come up with a way to locally run/test my submissions to Cloud Tasks before actually deploying the container to Cloud Run.

Is there any way to do this?


Solution

  • A local emulator for Cloud Tasks is not available yet, in some cases you can substitute Cloud Tasks with Pub/Sub. Also, consider to use non Google solutions such as Cloud-Tasks-In-Process-Emulator, gcloud-tasks-emulator 0.5.1 or Cloud tasks emulator.