How to use a queue queue on a Google App Engine dev server

We have been using the push queue for a very long time and have no problem consuming tasks from the dev server.

However, during the implementation of the new push queue service, it became difficult to figure out how to do the same on the dev server.

Basically from the documents, we can see that you should use the REST api (we cannot use the direct api queue, since it is consumed by an external application) to rent / delete a task with an endpoint

https://www.googleapis.com/taskqueue/v1beta1/projects/taskqueues

But obviously, this will not work on the local dev server, and it seems that this is not said about any place.

Just wondering, can anyone ever come across the same question, can shed some light?

+5
source share
1 answer

Using Pull Queue, a task user can be internal or external .

If you need it to work on a dev server, just create a handler (servlet) and use the internal API to add , rent and delete tasks.

+2
source

All Articles