Can the client cancel gearman jobs?

Asked by Khai Do on 2013-01-31

Hello. Can you tell me whether a gearman client is able to cancel jobs from the gearman server queue? If this is possible can you tell me how I can do it?

Question information

Language:
English Edit question
Status:
Solved
For:
Gearman Java Edit question
Assignee:
No assignee Edit question
Solved by:
Khai Do
Solved:
2013-04-01
Last query:
2013-04-01
Last reply:
2013-02-01
Eric Lambert (elambert) said : #1

No, and I dont think the Gearman Protocol supports that as an operation.

Khai Do (zaro0508) said : #2

Cancelling is possible with the recent commit to gearmand: https://launchpad.net/gearmand/+milestone/1.1.6

It has been added to the admin protocol.

I have updated the python-gearman library to support as well: https://github.com/zaro0508/python-gearman/tree/update-admin-client

Brian Aker (brianaker) said : #3

Eric, the server will support it.