You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
is it fair to assume that regardless the returned error I must always check the list of results and mark the listed events as "accepted to the queue"?
I'll give you an example:
I sent 50 events to the gRPC server
It responds with an error with the gRPC code ResourceExhausted
However, it also returns a list of 20 event results
The way I understand it now, I should treat these 20 events as accepted to the queue and I must retry the rest of the 30 events.
Can you please both confirm that this is the right behaviour that we're going to implement on the server?
Also, is this the case with the ResourceExhausted code only, or regardless the error I must always look the results up and retry the unaccepted events?
The way I understand it now, I should treat these 20 events as accepted to the queue and I must retry the rest of the 30 events.
Yes, I think it is reasonable for us to handle partially published batches. If we start implementing it and decide it is too difficult or complex we can re-evaluate that.
Also, is this the case with the ResourceExhausted code only, or regardless the error I must always look the results up and retry the unaccepted events?
ResourceExhausted is the most obvious case where some events could succeed but others may fail (because the queue is full). For now you can assume it is the only error with this behaviour.
ResourceExhausted
code is returned from the gRPCThe text was updated successfully, but these errors were encountered: