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

[chore][receiver/googlecloudpubsubreceiver] Fix goroutines leak #37311

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

alexvanboxel
Copy link
Contributor

Description

Fixes goroutines leak by properly closing the underlying gRPC client which is only when we're using an insecure custom endpoint.
Enables shutdown tests.

Link to tracking issue

Related to #30438

@alexvanboxel alexvanboxel force-pushed the pubsubreceiver-fixleak branch from 17acdaa to 9fa9f4a Compare January 20, 2025 10:09
@alexvanboxel alexvanboxel marked this pull request as ready for review January 20, 2025 12:11
@alexvanboxel alexvanboxel requested a review from a team as a code owner January 20, 2025 12:11
@alexvanboxel alexvanboxel requested a review from atoulme January 20, 2025 13:14
@alexvanboxel
Copy link
Contributor Author

The PR has got an internal review, rebased against main and pushed (squashed and force pushed the branch).

Removed Draft and is ready for review.

@atoulme atoulme added the ready to merge Code review completed; ready to merge by maintainers label Jan 20, 2025
@codeboten codeboten changed the title [chore][exporter/googlecloudreceiver] Fix goroutines leak [chore][receiver/googlecloudpubsubreceiver] Fix goroutines leak Jan 20, 2025
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @alexvanboxel

@codeboten codeboten merged commit 0708844 into open-telemetry:main Jan 20, 2025
180 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 20, 2025
chengchuanpeng pushed a commit to chengchuanpeng/opentelemetry-collector-contrib that referenced this pull request Jan 26, 2025
…-telemetry#37311)

#### Description
Fixes goroutines leak by properly closing the underlying gRPC client
which is only when we're using an insecure custom endpoint.
Enables shutdown tests.

#### Link to tracking issue
Related to
open-telemetry#30438

Co-authored-by: Kevin N. <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers receiver/googlecloudpubsub
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants