atiaomar1978-hub commented on PR #25498: URL: https://github.com/apache/camel/pull/25498#issuecomment-5294988707
## Review follow-up (Bugbot) Authenticated as **atiaomar1978-hub** and opened this PR against `apache/camel` `main`. ### Initial Bugbot review Bugbot flagged **stale SDK client after route restart** in `OTSProducer` (and the same pattern in `SLSProducer`): producers cached the client in a field while `OTSEndpoint.doStop()` shuts down and clears the endpoint-owned client. ### Fix (commit `44179596`) - Removed producer-level client caching in `SLSProducer` and `OTSProducer` - Each exchange now calls `endpoint.initClient()` so a restarted route gets a fresh client - Added `OTSProducerTest` and `SLSProducerTest` covering client re-initialization ### Re-review Bugbot re-run reports **no remaining issues in SLS/OTS**. It noted the same caching pattern still exists in Phase 1/2 components (OSS, KMS, FC, etc.) — out of scope for this Phase 3 PR; can be tracked separately if desired. ### Tests ``` ./mvnw -pl components/camel-alibaba/camel-alibaba-sls,components/camel-alibaba/camel-alibaba-ots test ``` All tests passing (14 test classes). _AI-generated on behalf of atiaomar1978-hub_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
