Skip to content

[receiver/kafkametrics] Fix incorrect cluster admin initialization in consumer scraper #36818

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

Merged
merged 6 commits into from
Feb 18, 2025

Conversation

yurytaranau
Copy link
Contributor

Description

Fix the issue with incorrect cluster admin initialization in consumer scraper. It might happen if client is alive, but ClusterAdmin is already closed. As a result it can lead to write: connection reset by peer errors.

Link to tracking issue

none

Testing

none

Documentation

none

@yurytaranau yurytaranau requested review from dmitryax and a team as code owners December 13, 2024 10:03
Copy link

linux-foundation-easycla bot commented Dec 13, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@yurytaranau yurytaranau force-pushed the fix/kafkametricsreceiver branch 2 times, most recently from 56c7d8c to 2d15b92 Compare December 13, 2024 10:18
@yurytaranau
Copy link
Contributor Author

@dmitryax, please take a look

@yurytaranau yurytaranau force-pushed the fix/kafkametricsreceiver branch from 2d15b92 to 34642b3 Compare December 18, 2024 16:08
Copy link
Contributor

github-actions bot commented Jan 7, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jan 7, 2025
@github-actions github-actions bot removed the Stale label Jan 8, 2025
@yurytaranau
Copy link
Contributor Author

@MovieStoreGuy @dmitryax, could you please take a look?

Copy link
Contributor

github-actions bot commented Feb 4, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Feb 4, 2025
Copy link
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Feb 18, 2025
@dmitryax dmitryax reopened this Feb 18, 2025
@dmitryax
Copy link
Member

Sorry for the delay. Missed it

@dmitryax dmitryax merged commit 789bfb3 into open-telemetry:main Feb 18, 2025
162 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 18, 2025
csatib02 pushed a commit to axoflow/opentelemetry-collector-contrib that referenced this pull request Feb 18, 2025
… consumer scraper (open-telemetry#36818)

#### Description
Fix the issue with incorrect cluster admin initialization in consumer
scraper. It might happen if client is alive, but ClusterAdmin is already
closed. As a result it can lead to `write: connection reset by peer`
errors.

Co-authored-by: Dmitrii Anoshin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants