Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

two sequential events for same task are send to two different queues #52

@ravikishore1979

Description

@ravikishore1979

Hi Team,

Please can anyone clarify me regarding the below two points?

  1. Two sequential events of a task "STARTED" and "COMPLETED" are going to two different queues "Queues.EVENTS" and "Queues.COMPLETIONS".
    Because of two queues for same task state, "Queues.COMPLETIONS" will be processed before "Queues.EVENTS". Though in
    "TaskStartedEventListener.java" we are updating the DB only if startTime is null. I feel this is a temporary fix.
    So my question is can we push "Completion" event also to "Queues.Events" queue?

  2. During handling of the Event, I am setting few more properties to "TaskExecution" Object, So while creating PiperEvent, can we send TaskExecution Object also as part of PiperEvent?

Regards,
Ravi Kishore. K

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions