davsclaus opened a new pull request, #24867: URL: https://github.com/apache/camel/pull/24867
## Summary Fixes 4 medium-severity findings in camel-azure-eventhubs from the July 2026 code review ([CAMEL-24159](https://issues.apache.org/jira/browse/CAMEL-24159)). This is PR 2 of 5 (one per azure component). - **Credential override guard** — autowired `TokenCredential` no longer silently overrides an explicitly configured `credentialType` (regression from CAMEL-21871) - **Checkpoint task race condition** — `processCommit()` is now `synchronized` to prevent concurrent partition threads from racing on `lastTask`/`lastScheduledTask`; `eventContext` field in `EventHubsCheckpointUpdaterTask` is now `volatile` for cross-thread visibility - **Silent checkpoint failures** — checkpoint update errors are now logged at WARN (with stack trace) instead of DEBUG, so operators get visibility when the checkpoint store breaks and unbounded replay would otherwise occur silently - **User-provided producer client lifecycle** — user-provided (autowired) `EventHubProducerAsyncClient` is no longer closed by the component on stop; only internally-created clients are managed ## Test plan - [x] `mvn clean install` passes in camel-azure-eventhubs module - [x] No existing tests broken _Claude Code on behalf of davsclaus_ Co-Authored-By: Claude Opus 4.6 <[email protected]> -- 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]
