-
Notifications
You must be signed in to change notification settings - Fork 17
The disk queue must assign an auto-incrementing ID to each element #27
Comments
Okay, so @cmacknz I'm assuming this is what we'll use the |
Yes. The delivery guarantees section of the design proposal explains this in a bit more detail. If inputs writing to the shipper want an acknowledgement of when their message has been successfully written to the output, they need some identifier to use to track their message. Rather than force inputs to generate UUIDs in a possibly inconsistent way, we give them back the queue sequence number as it uniquely identifies the message in the pipeline. The flow is:
There is an optional |
Both the memory and disk queues have something resembling this internally, but getting them to handle this use case will take some work:
|
Now that elastic/beats#31307 is closed and most of the (currently concerning) tech debt is cleaned up, is there anything blocking this @faec ? |
The memory queue is done which is enough for 8.5 The disk queue can be handled in 8.6, I'll update the meta issues and the issue description. |
Assuming we're committed to the shipper-beat path (which seems to be the case now?) this issue is no longer required and can be closed. |
@faec Thanks Fae for noticing, closing this one as won't fix. |
To support implementation of end to end acknowledgement and simplify the calculation of a queue lag metric, the queues must assign an auto-incrementing ID or sequence number to each element added to the queue. Both queue types must support this consistently:
See elastic/beats#32541 for the memory queue implementation.
The text was updated successfully, but these errors were encountered: