8000 SQS synchronously invoking lambda · Issue #1967 · localstack/localstack · GitHub
[go: up one dir, main page]

Skip to content
SQS synchronously invoking lambda #1967
Closed
@ronaldotd

Description

@ronaldotd

I have created a lambda function that is triggered by SQS messages received on a given queue.

In order to test this pipeline, I manually send messages to the queue using awslocal sqs send-message. I have noticed that awslocal only returns after the lambda function is executed, for instance, if the function takes five seconds to execute, awslocal is blocked for five seconds.
Is this the expected behavior? A message received by the queue synchronously triggers the lambda function?
I have browsed the code, especially the SQS listener, and it seems that this is by design.
By the way, thanks for this great project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0