Commit f57d46b
committed
Integrate App Engine Task Queue API with Google Cloud Tasks.
This change introduces support for routing App Engine push queues to Google Cloud Tasks when the APPENGINE_USE_CLOUDTASK_PUSH_QUEUE environment variable is enabled.
Key changes include:
- Adding CloudTasksClientWrapper to handle task creation, deletion, purging, and statistics using the Cloud Tasks SDK and REST API.
- Implementing transactional task queuing via a Datastore-backed buffer (_AE_PendingCloudTask) and a background sweeper (SweeperServlet and TaskProcessor) to guarantee delivery.
- Introducing RequestCachingFilter to cache task request payloads and handle sweep triggers.
- Updating QueueImpl to delegate push queue operations to the new Cloud Tasks integration.
- Updating Maven and Bazel build files to include the required Google Cloud Tasks, GAX, and proto dependencies.
PiperOrigin-RevId: 965724714
Change-Id: Idd794e9528d0f8918b03e5a7fbf7656f902e61241 parent 17bf221 commit f57d46b
19 files changed
Lines changed: 2770 additions & 63 deletions
File tree
- api_dev/src/test/java/com/google
- appengine/api
- datastore
- taskqueue
- apphosting/utils/servlet
- api
- src/main/java/com/google
- appengine/api
- datastore
- taskqueue
- apphosting/utils
- remoteapi
- servlet
- jakarta
- appengine-api-1.0-sdk
- runtime
- runtime_impl_jetty121
- runtime_impl_jetty12
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
59 | 69 | | |
60 | 70 | | |
61 | 71 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
| |||
100 | 108 | | |
101 | 109 | | |
102 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
103 | 118 | | |
104 | 119 | | |
105 | 120 | | |
| |||
0 commit comments