jamesnetherton opened a new pull request, #8844:
URL: https://github.com/apache/camel-quarkus/pull/8844

   ## Summary
   - Fixes #7733
   - The shared `KinesisConnection` recreates its client using whichever 
endpoint calls `getClient()` first. After a connection reset, consumer poll 
threads can race the producer and recreate the client with static credentials 
instead of `DefaultCredentialsProvider`, causing 
`failingDefaultCredentialsProviderTest` to succeed when it should fail.
   - Suspend Kinesis consumer routes before resetting the connection and resume 
them after, so the producer is always the first to trigger client recreation.
   
   ## Test plan
   - [x] `Aws2KinesisTest` passes 5/5 runs locally
   - [x] `GroupedAws2KinesisTest` passes locally
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to