Skip to content

Question: How to enqueue job without waiting for results? #62

Closed

Description

@pulkitsinghal

In the long explanation behind bee-queue's inception, the following usecase is mentioned:

Receive request -> Enqueue job -> Send response -> Retrieve results later

I'm wondering how to make it happen so that the producer can enqueue a job (successfully) and then move on ... without waiting for results.

getEvents: boolean, default true. Disable if this queue does not need to receive job events.

Would setting getEvents:false allow me to do this? Or is there some other way?

Activity

  1. grantcarthew commented on Jun 3, 2017

    @grantcarthew

    @pulkitsinghal please see #63

  2. skeggse commented on Jul 19, 2017

    @skeggse
    Member

    If I understand correctly, you do not need to retrieve the result of jobs for your use-case. We introduce a number of additional configuration parameters in #64, in which setting getEvents, sendEvents, storeJobs all to false will disable the systems to support returning results to the producer.

  3. added this to the 1.0.0 milestone on Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions