Can the client cancel gearman jobs?

Asked by Khai Do

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:
Last query:
Last reply:
Revision history for this message
Eric Lambert (elambert) said :
#1

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

Revision history for this message
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

Revision history for this message
Brian Aker (brianaker) said :
#3

Eric, the server will support it.