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

[issue 195] terminate streams gracefully #207

Merged
merged 22 commits into from
Aug 7, 2023

Conversation

moh-osman3
Copy link
Contributor

@moh-osman3 moh-osman3 commented Jul 26, 2023

Resolves #195

This PR solves an issue with stream termination, where once max_connection_age is reached in the server (otlpreceiver), it will shutdown and return a NO_ERROR error to the client. To resolve this, the client (otlpexporter) will set a max_stream_lifetime in the config to signal a graceful shutdown in the client before the server reaches the max_connection_age

For testing I ran the arrow collector with a record.yaml which had a telemetry generator receiver -> otlpexporter -> otlpreceiver -> fileexporter pipeline, and confirmed I was no longer seeing the arrow stream shutdown error

@moh-osman3 moh-osman3 changed the title Mohosman/195/terminate streams gracefully [issue 195] terminate streams gracefully Aug 1, 2023
@jmacd jmacd self-requested a review August 1, 2023 23:34
@moh-osman3 moh-osman3 marked this pull request as ready for review August 2, 2023 19:20
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

Successfully merging this pull request may close these issues.

Terminate streams gracefully, somehow
3 participants