Assigned
Status Update
Comments
jm...@google.com <jm...@google.com> #2
Engineering is aware of this feature request and are currently looking into the different possible implementations for this. There is currently no ETA.
In the meantime as talked about in [1], you can transactionally enqueue a task [2] that will call your Cloud Function if-and-only-if the Datastore transaction (entity create, update, delete) succeeds.
[1]https://issuetracker.google.com/35904123
[2]https://cloud.google.com/appengine/docs/standard/python/ndb/transactions#python_Transactional_task_enqueuing
In the meantime as talked about in [1], you can transactionally enqueue a task [2] that will call your Cloud Function if-and-only-if the Datastore transaction (entity create, update, delete) succeeds.
[1]
[2]
Description
We can currently do this on the application level after a call to Datastore completes but it's not super resilient to failure. Our use case specifically is the ability for Datastore events to trigger Cloud Function invocations and figured this would be the best connection between the two.