2

Eventarc seems like a very useful means of connecting events to your application, particularly with CloudRun, however without being able to emulate all of these events locally, it makes them very difficult to rely on.

i.e. If I'm using the Firestore database with CloudRun, I can use eventarc to call a CloudRun endpoint for certain firestore document events, which is very convenient. I can't rely on these events for anything important in my app though unless I can find a way to emulate the eventarc connections when I run the firestore emulator locally as well. How would I do this?

spierce7
  • 14,797
  • 13
  • 65
  • 106
  • can you precisely explain what issue are you facing , so i can troubleshoot it better. – Divyani Yadav Feb 16 '22 at 03:42
  • I want to be able to run my environment locally on my computer. But I can't do that when my production environment relies on enventarc events for when a document is created or updated with cloudrun. I'm looking for a solution to this. – spierce7 Feb 16 '22 at 06:09
  • Posted an answer, Is it helpful? – Divyani Yadav Mar 01 '22 at 04:33

1 Answers1

0

As mentioned in the thread:

Until you can get your code running locally, then you can still use the cloud hosted message queue / pub/sub interface from your local code.

For more information, you can refer to the code lab and stackoverflow case.

Divyani Yadav
  • 1,030
  • 4
  • 9