Skip to content
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

Add AWS MQ as an event source #1011

Closed
shipskin opened this issue Jul 20, 2021 · 1 comment
Closed

Add AWS MQ as an event source #1011

shipskin opened this issue Jul 20, 2021 · 1 comment
Labels
no-activity [Bot] Closing soon if no new activity

Comments

@shipskin
Copy link

Using the AWS MQ message broker service would be an excellent event source addition to the existing available event sources.

Context

I would like to configure AWS MQ as an event source in the zappa settings.

Expected Behavior

Adding this config will enable lambda to be triggered by an AWS MQ message

{
    "production": {
       ...
       "events": [{
            "function": "your_module.process_mq_message",
            "event_source": {
                  "arn":  "arn:aws:mq:us-east-1:1234567:broker:my-mq-broker-name:my-broker-id",
                  "batch_size": 1,
                  "enable": true,
                  "queues": ["queue-name"],
                  "source_access_configuration": {
                      "Type": "BASIC_AUTH",
                      "URI": "arn:aws:secretsmanager:us-east-1:1234567:secret:my-secret"
               }
            }],
       ...
    }
}

Actual Behavior

No MQ config is currently available.

Possible Fix

Add some enhancements to the utilities.

Your Environment

  • Zappa version used: 0.53.0
  • Operating System and Python version:
    • MacOS 11.4
    • python 3.8
Copy link

github-actions bot commented Apr 3, 2024

Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.

@github-actions github-actions bot added the no-activity [Bot] Closing soon if no new activity label Apr 3, 2024
@shipskin shipskin closed this as completed Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-activity [Bot] Closing soon if no new activity
Projects
None yet
Development

No branches or pull requests

1 participant