Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add field to store reference to aggregating event when an event is not processed due to aggregation/deduplication #17

Closed
alechenninger opened this issue Jul 13, 2015 · 2 comments

Comments

@alechenninger
Copy link

ie,
event 1 and event 2 occur for entity foo.
Event 2 gets included in the resulting message from event 1, so event 2's status is set to duplicated / aggregated, whatever (I forget exactly).

We need a field to track where event 2 ended up getting aggregated.

If I'm not explaining this well due to rushing, @vritant knows what I'm talking about :)

@dcrissman
Copy link
Member

Fair. So lets say we create a field called "duplicateOf" and set it as a uid. We already have a status field to indicate duplicate. Maybe if this status = 'duplicate', then duplicateOf should be set to the event _id that actually processed. Otherwise the field would essentially be null.

Sound good?

@alechenninger
Copy link
Author

Yep, sounds right on to me

On Thu, Jul 23, 2015, 1:58 PM Dennis Crissman notifications@github.com
wrote:

Fair. So lets say we create a field called "duplicateOf" and set it as a
uid. We already have a status field to indicate duplicate. Maybe if this
status = 'duplicate', then duplicateOf should be set to the event _id that
actually processed. Otherwise the field would essentially be null.

Sound good?


Reply to this email directly or view it on GitHub
#17 (comment)
.

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

No branches or pull requests

2 participants