New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
taskqueue lib is advertised but not available nor explained in docs #3834
Comments
Unfortunately, the task queue service is not available in the App Engine Flexible environment yet. We will update the migration doc to more clearly state this limitation. |
As @duggelz said, there's not currently a task queue library for use outside of the app engine standard environment. However, as per the migration doc you can make an App Engine flex service the target of a push queue task that's enqueued from an App Engine standard service. Let us know if you have any other questions. |
Thank you. I do have a question. How would I create a pull queue from pub sub to process 5 worker threads concurrently? Here's additional context on the question: If using Python thread pool makes sense, how would I drive it from within App Engine? With a main() or is there a known way to run alongside gunicorn or similar so that it can also support rest? |
Our pubsub client is poised to change quite a bit soon, but, our Bookshelf Pub/Sub tutorial shows how to use Pub/Sub to do worker queues: https://cloud.google.com/python/getting-started/using-pub-sub |
Thank you. https://cloud.google.com/python/getting-started/using-pub-sub is absolutely what I was looking for! |
Any timeline on this? I just spent several hours researching and implementing this only to find you can't use it with Python3. Or can someone at least approve my request for Cloud Tasks API Alpha? |
How does one make the taskqueue lib available in Python 3.4?
python --version
Python 3.4pip show google-cloud
,pip show google-<service>
orpip freeze
google-cloud==0.27.0from google.appengine.api import taskqueue
ModuleNotFoundError: No module named 'google.appengine'
https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/taskqueue/pull-counter or anything else online by google regarding task queue. Not a single example explains how to make this lib available for python 3.4 app engine flex.
The text was updated successfully, but these errors were encountered: