AWS re:Post을(를) 사용하면 다음에 동의하게 됩니다. AWS re:Post 이용 약관

Does Lambda with RabbitMQ-trigger batch messages from multiple queues

0

Hi,

I have a Lambda with a single lambda_handler function and multiple YAML files with different env vars. This Lambda should be triggered by RabbitMQ, each YAML file contains one RabbitMQ queue. As I understand from the documentation, Lambda batches messages and processes them at once, but what I didn't understand is whether an event contains messages from multiple queues. If it does, how can I distinguish between them and apply the different configuration according to each queue's YAML file's?

질문됨 6달 전230회 조회
1개 답변
1

I haven't used it myself, but As I understand you need to specific a queue every time you configure a lambda function as destination, That suggest that while there will be a batch of message but they all will be from same queue.

And since the sourceArn content queue name you can use that to decide which configure to pick.

답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠