Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository has been 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

Open
ravikishore1979 opened this issue Jan 18, 2021 · 0 comments

Comments

@ravikishore1979
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant