davsclaus commented on code in PR #30843:
URL: https://github.com/apache/camel/pull/30843#discussion_r4705461112
##########
components/camel-aws/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2Consumer.java:
##########
@@ -553,8 +554,21 @@ public void run() {
trackChildShards(latestShardList);
setCurrentShardList(latestShardList);
}
- } catch (Exception e) {
- LOG.warn("Exception getting latest shard list", e);
+ } catch (VirtualMachineError e) {
Review Comment:
Done in fcf3f98839: the `VirtualMachineError` is logged at ERROR and goes to
`handleFatalError(e)` before it is thrown on, and the test checks readiness
DOWN, `getFatalError()` and the restart.
_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]