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

[fanoutconsumer] [chore] Do not wrap one read-only consumer #8689

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Oct 17, 2023

A follow-up optimization after merging #8634.

There is no need to create a fanout consumer for only one read-only consumer. This introduces a behavior that closely resembles its previous state, before the introduction of the readonly/mutable states.

@dmitryax dmitryax requested review from a team and djaglowski October 17, 2023 03:05
There is no need to create a fanout consumer for only one read-only consumer. This reintroduces an optimization that closely resembles its previous state, before the introduction of the readonly/mutable states.

No need for additional changelog item given the previous change isn't released
@dmitryax dmitryax force-pushed the fanout-optimization branch from 1ea4940 to c35d160 Compare October 17, 2023 03:10
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
internal/fanoutconsumer/logs.go 100.00% <100.00%> (ø)
internal/fanoutconsumer/metrics.go 100.00% <100.00%> (ø)
internal/fanoutconsumer/traces.go 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@dmitryax dmitryax merged commit ec07258 into open-telemetry:main Oct 17, 2023
@github-actions github-actions bot added this to the next release milestone Oct 17, 2023
@dmitryax dmitryax deleted the fanout-optimization branch October 17, 2023 16:25
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.

2 participants