Skip to content

Fix spring-integration context leak - #4673

Merged
trask merged 1 commit into
open-telemetry:mainfrom
trask:fix-spring-integration-context-leak
Nov 19, 2021
Merged

Fix spring-integration context leak#4673
trask merged 1 commit into
open-telemetry:mainfrom
trask:fix-spring-integration-context-leak

Conversation

@trask

@trask trask commented Nov 19, 2021

Copy link
Copy Markdown
Member

No description provided.

Comment on lines +47 to +53
//
// there's an option for this class to implement VetoCapableInterceptor and prevent itself
// from being registered if it's already registered, but the VetoCapableInterceptor interface
// broke backwards compatibility in 5.2.0, and the version prior to 5.2.0 takes a parameter
// of type ChannelInterceptorAware which doesn't exist after 5.2.0, and while it's possible to
// implement both at the same time (since we compile using 4.1.0), muzzle doesn't like the
// missing class type when running testLatestDeps

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I can remove this part if it seems too much, I just didn't want others to go down this road, at least without knowing the pitfalls ahead of time

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is good description 👍

@trask
trask marked this pull request as ready for review November 19, 2021 05:31
Comment on lines +47 to +53
//
// there's an option for this class to implement VetoCapableInterceptor and prevent itself
// from being registered if it's already registered, but the VetoCapableInterceptor interface
// broke backwards compatibility in 5.2.0, and the version prior to 5.2.0 takes a parameter
// of type ChannelInterceptorAware which doesn't exist after 5.2.0, and while it's possible to
// implement both at the same time (since we compile using 4.1.0), muzzle doesn't like the
// missing class type when running testLatestDeps

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is good description 👍

@trask
trask merged commit e6a9a6f into open-telemetry:main Nov 19, 2021
@trask
trask deleted the fix-spring-integration-context-leak branch November 19, 2021 18:22
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
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.

4 participants