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
Describe the bug
The generic eventsource client logs an error when it receives and io.EOF on the stream. This is a valid response indicating that the stream has completed successfully and should not be logged as an error.
To Reproduce
Steps to reproduce the behavior:
Implement a generic event source server that implements generic.proto. The server sends a nil for error indicating there's no error and the stream has finished.
Deploy the event bus, the event source server and configure the generic eventsource to connect to the server.
Once the generic eventsource client starts streaming from the server, you'll notice this error.
This issue has been automatically marked as stale because it has not had
any activity in the last 60 days. It will be closed if no further activity
occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had
any activity in the last 60 days. It will be closed if no further activity
occurs. Thank you for your contributions.
Describe the bug
The generic eventsource client logs an error when it receives and
io.EOF
on the stream. This is a valid response indicating that the stream has completed successfully and should not be logged as an error.To Reproduce
Steps to reproduce the behavior:
nil
for error indicating there's no error and the stream has finished.Expected behavior
No error logs when
io.EOF
is received because EOF on the Recv method indicates that the stream completed successfully.Screenshots
N/A
Environment (please complete the following information):
Additional context
Log
Stacktrace
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: