Questions tagged [pull-queue]

26 questions
9
votes
1 answer

pull queues authorization from compute

I'm trying to access a pull queue from google compute with the compute OAuth token using python from oauth2client import gce from apiclient.discovery import build import httplib2 credentials = gce.AppAssertionCredentials('') http =…
3
votes
2 answers

How to lease tasks from a pull-queue when running in dev_appserver?

Is there a way to lease tasks from a pull-queue when running the application locally using dev_appserver? More Info: I have a GAE app that uses pull queues. I need to lease tasks from that queue from a different service written in java. I am…
feroze
  • 7,380
  • 7
  • 40
  • 57
2
votes
1 answer

TaskQueueSample.java : Code 403

I am trying to make the sample works so here is the code : Sample Code The documentation for the installation is there: Installation documentation I had a little problem on the step: Click on "API Access", and then on "Create an OAuth 2.0 Client …
Jerome Ansia
  • 6,854
  • 11
  • 53
  • 99
2
votes
1 answer

Access to App Engine Pull Queue - Activate TaskQueue API

I try to authenticate into Google Queue API using the Google Sample Code - Taskqueue-cmdline-sample, You have to set a google client id and google client secret into the client_secrets.json file of the sample. So my problem is which credentials to…
Jerome Ansia
  • 6,854
  • 11
  • 53
  • 99
1
vote
1 answer

Leasing tasks from pull queues in Google App Engine

Do pull queues guarantee that a task will be leased to no more than one worker at any given point in time? Failed to find any explicit mention of this...
markvgti
  • 4,321
  • 7
  • 40
  • 62
1
vote
1 answer

Google TaskQueue (pull) insert task by API

I'm using the apiclient.discovery.build to lease tasks from a Google Pull Queue.. It's working fine.. But when I try to insert tasks in this Queue, I always get the same error: from apiclient.discovery import build build = build('taskqueue',…
rriccilopes
  • 399
  • 2
  • 10
1
vote
1 answer

How can I add tasks from a PHP google app engine app to a pull queue?

I am trying to add tasks to a pull queue from a PHP based GAE app.As of right now, pull queues do not support PHP and therefore I was hoping someone could tell me how to solve this issue. So far, I have tried the following but failed: 1) Use a TASK…
RadV
  • 11
  • 2
1
vote
1 answer

How to identify whether task exists already within GAE pull queue?

Before adding a task to the pull queue, I have to confirm whether same task exists already within queue, if exists should skip task adding to queue. Adding task with name doesn't work for me as it doesn't expire until seven days from the queue even…
Naresh M
  • 113
  • 11
1
vote
1 answer

How to know number of tasks remaining based on a tag name in GAE pull queue

I have a pull queue where I add tasks based on a tagname using java. The tag name is different for different group of tasks I add. Currently while leasing tasks from pull queue using groupbytag I am getting the tasks randomly but I need to know the…
kona B
  • 95
  • 1
  • 6
1
vote
1 answer

Pull Queue leaseTasks is not returning any TaskHandles

I am trying to use Pull Queue on Google AppEngine, here is the setup Users will create a task through my applications REST API It then adds a Task to "TEST_QUEUE" (mode: PULL) A Cron job will check the QueueStatistics to see if there are any…
digerati
  • 85
  • 1
  • 5
1
vote
1 answer

Leasing app engine task in compute engine

I'm trying to lease an app engine task from a pull queue in a compute engine instance but it keeps giving this error: { "error": { "errors": [ { "domain": "global", "reason": "forbidden", "message": "you are not allowed to make…
1
vote
0 answers

Google API Read Pull Queue Java

I'm trying to read a pull queue in java (Google API) Here is the code : static HttpTransport newTransport() { HttpTransport result = new NetHttpTransport(); GoogleUtils.useMethodOverride(result); GoogleHeaders headers = new…
Jerome Ansia
  • 6,854
  • 11
  • 53
  • 99
1
vote
2 answers

Difference between param and payload for Google App Engine Pull Queue

My project is based on GAE/J and utilizing the recent launched PULL queue, but I think the question can also be applied to Python. Basically, when I put a task into the PULL queue, I need to set some params of the task for the later consumer to pick…
Yudong Li
  • 1,784
  • 2
  • 17
  • 32
0
votes
1 answer

App Engine - Pull queues max_concurrent_requests limit?

I'm using Google App Engine pull queues to send massive push notifications to APNS, GCM and OneSignal mostly following this architecture:…
Javier Marín
  • 2,166
  • 3
  • 21
  • 40
0
votes
1 answer

Google App Engine Flex Python 3.4 - *Pull Queues* are not supported in documentation nor code examples

Using Python 3.4 Google App Engine Flex. Google documentation on using pull queues with Python says to "from google.appengine.api import taskqueue", but does not explain how to make taskqueue available to Python runtime. They do link to "Easily…
1
2