maximumRetryAttempts Issue in Amazon MQ Rabbit MQ Event Source

0

I am unable to configure maximumRetryAttempts for the MQ Event Source. Please review the current Configuration for the Rabbit MQ Event source attached for Amazon MQ and RabbitMQ.

{

"UUID": "c881392e-9b81-408e-a072-49e79ac1d",

"BatchSize": 10,

"MaximumBatchingWindowInSeconds": 0,

"EventSourceArn": "arn:aws:mq:ap-south-1:549135082245:broker:MedfinMQBroker:b-4e4731de-f0f2-40a8-84fa-fece864f42f0",

"FunctionArn": "arn:aws:lambda:ap-south-1:549135082:function:SmsQuickConsumerFunction",

"LastModified": "2022-08-19T14:13:10.876000+05:30",

"LastProcessingResult": "OK",

"State": "Updating",

"StateTransitionReason": "USER_INITIATED",

"Queues": [ "q.notification.sms.quick" ],

"SourceAccessConfigurations": [ { "Type": "BASIC_AUTH", "URI": "arn:aws:secretsmanager:ap-south-1:549135045:secret:RabbitMQ-Qf9PVQ" },

{
    "Type": "VIRTUAL_HOST",
    "URI": "/"
}

] }

Please review my command and let me know where I am wrong.

Below is the command

aws lambda update-event-source-mapping --uuid "someUUID" --maximum-retry-attempts 10

Am getting the below error.

An error occurred (InvalidParameterValueException) when calling the UpdateEventSourceMapping operation: Invalid parameters: maximumRetryAttempts

gefragt vor 2 Jahren279 Aufrufe
1 Antwort
0

Please see the documentation here - https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping

Only the following Event Source configuration parameters apply to Amazon MQ for Rabbit MQ - BatchSize, Enabled, FunctionName, Queues, SourceAccessConfigurations

AWS
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen