-
Notifications
You must be signed in to change notification settings - Fork 1
Queue Management API
!!WIP!!
An important function for a queue is the ability to manage the queue external to producers and consumers. Since lasr is an in-process queue, the process must be responsible for management; no other process can safely access the backing store.
To this end, lasr provides an HTTP handler that enables queue management. Users can optionally expose this handler in an application. Operators can use this API described in this document to administer the queue. The management interface does not provide transactional semantics (eg Ack, Nack); do not use it for normal queue operation.
All IDs will be base64url encoded.
-
GET /{queue_name}Get a newline-separated list of messages in the queue. -
DELETE /{queue_name}Delete the entire queue. -
GET /{queue_name}/{id}Get the contents of a message keyed byid. Does not remove the message. -
DELETE /{queue_name}/{id}Delete the message keyed byid.