I want to run a nodejs Job whenever an entry is created on the spanner database. The entry in spanner database will contain some future timestamp. The nodejs Job should run at that particular timestamp.
Can I apply some db trigger to initiate the action?
Note: The nodejs Job is deployed on GKE
No, Cloud Spanner does not support triggers.
Either the application that creates the row calls the nodeJS job, or you have a regularly-occurring job that scans the relevant table for new rows.