Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eventbridge and SQS fifo queue

I have added to our custom event bus a FIFO queue as a target.

When eventbridge is connected to a fifo queue the MessageGroupId property is required.

Is it possible to configure dynamically that value?

For example: I have a fifo queue where I put events from different users. Every event, inside the detail property, has a property uuid with the user identifier. I would like to use this property instead of e constant value as MessageGroupId. In this way, all events for the same user are going to be processed in the order.

Thank you!

like image 283
aGO Avatar asked Nov 07 '22 08:11

aGO


1 Answers

This is not possible as of 4/8/2021.

The EventBridge input transformation puts the transformed payload into the MessageBody parameter of the SQS SendMessage API.

Any other API parameters cannot be modified from EventBridge.

like image 169
Paritosh Avatar answered Nov 15 '22 07:11

Paritosh