EventBridge Role Infinite Loop

0

I encountered an issue with an infinite loop while operating a service using EventBridge and AWS Batch for the first time.

I had set up three EventBridge Roles using the following basic pattern for Batch connections:

{
    "source": [
        "aws.batch"
    ]
}

After that, another EventBridge triggered a Batch operation, but then it began to loop infinitely.

Upon consulting with AWS regarding this matter, they indicated that the Batch operation was being tracked and other EventBridge Roles might have been activated after 1 minute.

However, while it makes sense that three server calls could happen 1 minute after confirming the Batch operation, it's confusing why, upon checking the last log, there were 800 calls per minute.

Could it be that if Batch is called multiple times within a minute, all those calls trigger it to operate multiple times? If so, such a Role seems too risky. The more I think about it, the less likely it seems that this would be a default setting... It's very perplexing.

Please check with the experts.

1 Answer
0

I would look into refining the Rule to catch specific events and not all the events that are received from AWS Batch, especially if the target of the rule is AWS Batch itself.

profile pictureAWS
EXPERT
Uri
answered 25 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions