Skip to content

Conversation

@lenin-jaganathan
Copy link

The RestClientBeanPostProcessor was always creating a new RestClient bean via mutate().build(), even when the OpenTelemetry interceptor was already present. This resulted in unnecessary bean creation.

Fixes #15545

@lenin-jaganathan lenin-jaganathan requested a review from a team as a code owner December 5, 2025 13:24
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 5, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: lenin-jaganathan / name: Lenin Jaganathan (c528516)

@github-actions github-actions bot added the test native This label can be applied to PRs to trigger them to run native tests label Dec 5, 2025
@lenin-jaganathan lenin-jaganathan force-pushed the gh-15545-restclient-postprocessing branch from bb2eacd to 6850089 Compare December 5, 2025 13:31
…ceptor already present

The RestClientBeanPostProcessor was always creating a new RestClient bean
via mutate().build(), even when the OpenTelemetry interceptor was already
present. This resulted in unnecessary bean creation.

Fixes open-telemetry#15545

Signed-off-by: Lenin Jaganathan<lenin.jaganathan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test native This label can be applied to PRs to trigger them to run native tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RestClientBeanPostProcessor always mutates underlying RestClient

1 participant