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
When I call this HTTP endpoint Produce failed. context canceled is logged. So it seems that the canceling of the request's context is causing the buffered record to also be canceled. This is unexpected to me because the record's context is being set to a totally different (background) context. In this case shouldn't the request's context only be used until the record is buffered?
The text was updated successfully, but these errors were encountered:
I'm using this client's producer in an HTTP service but am running into some unexpected behavior regarding context usage.
Here is a simple example:
When I call this HTTP endpoint
Produce failed. context canceled
is logged. So it seems that the canceling of the request's context is causing the buffered record to also be canceled. This is unexpected to me because the record's context is being set to a totally different (background) context. In this case shouldn't the request's context only be used until the record is buffered?The text was updated successfully, but these errors were encountered: