-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SQS] Batch Window #126
Comments
Hey @gonzalobertomeu, thanks for reporting your problem. In the meantime, you can easily override this property without a dedicated option on the construct using the resources:
extensions:
MyFunctionEventSourceMapping: // Replace with the actual logicalId of your event source mapping from cloudformation ressources tab
Properties:
MaximumBatchingWindowInSeconds: 150 // Whatever value fits your need |
Hi @fredericbarthelet. Thanks for answer quickly! In my case, I need to reduce the delay between the arrival of the message and lambda being triggered (with a standard queue). I am using this in a messaging system (more simmilar to an email than a chat) for an educational platform, in which a message can be delivered to a single person, a family or the entire community of this school (among other categories). Now i'm going to try solution that you provided! |
Hi @gonzalobertomeu, we recently release a new version of Lift with the introduction of the extensions property. Lift extensions allows developper to override specific pieces of CloudFormation generated by Lift constructs. This would remove the need from your side to manually input generated logicalId by CDK. Would you like to give it a try :) ? I'm closing this issue in the meantime. Thanks |
I need to configure maximumBatchingWindow from SQS constructs.
Can you expose this property? Just like batchSize.
The text was updated successfully, but these errors were encountered: