October 12, 2013
November 25, 2019
Google App Engine - MapReduce - Selecting a queue
Some time ago I needed to run a big task on GAE putting it in a queue with some special settings. The best option was to write mapreduce job for it butdocumentation did not mention anything about possibility to select queue for given mapreduce. After some time i founded that it is possible! Just as always, documentation is not complete.. But OK, to have a possibility to select a queue just use name: queue_name. For example:
- name: Some awesome taskmapper:input_reader: mapreduce.input_readers.DatastoreInputReaderhandler: app1.my_taskparams:- name: entity_kinddefault: app1.models.World- name: namespacedefault: my_namespace- name: queue_namedefault: "backups"
That's all. Maybe it will help someone.