How do I get trigger broker topic's routing key on lambda function
Hello, I am coding now AWS lambda function, and I connected it to RabbitMQ broker. I created a queue on RabbitMQ and I connected this queue to topic by Routing Key. When I send message to RabbitMQ topic, it sends message to the queue and it is triggered to the AWS Lambda function and now I need 'routing key' in the lambda function. How can I get this routing key?
Hi Can, You can pass the routing key value in a header property when sending the message and that will be passed on as an event header to the target Lambda function. The value would be sent as a byte array. Currently, we do not propagate the routing key to the target Lambda function.
is it possible that SQS Triggers to a Lambda Function Alias?Accepted Answerasked 5 months ago
using lambda as the identity broker to access AWS Consoleasked 3 months ago
RabbitMQ Java connection throws UnknownHostException: invalid IPv6 addressasked a year ago
publish to 3rd party MQTT broker in aws python Lambda functionasked 3 years ago
Serverless option to subscribe to AMQP brokerasked 2 months ago
Install RabbitMQ Plugin on AmazonMQasked 14 days ago
Fail to connect to RabbitMQasked a year ago
How do I get trigger broker topic's routing key on lambda functionasked a month ago
Get output of a Lambda function back to IoT Core MQTT brokerAccepted Answerasked 7 months ago
AmazonMQ - RabbitMQ engine - event sourceasked 2 years ago