davsclaus commented on PR #30843:
URL: https://github.com/apache/camel/pull/30843#issuecomment-7186699089

   #30840 (CAMEL-27458) is now merged, and this PR conflicts with it in 
`ShardMonitor.run()`. When you rebase, please also set `shardListError` in the 
merged `catch (Exception | Error e)`, so a first `ListShards` that fails with 
an `Error` does not leave the consumer not ready with no reason. On main the 
field is `private volatile Exception shardListError` 
(`Kinesis2Consumer.java:99`), so it would need to become a `Throwable` (and the 
read at line 129), or the `Error` would need to be wrapped. A test case with an 
`Error` on the first `ListShards` would cover it.
   
   _Claude Code on behalf of Claus Ibsen_
   


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