You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zappa is a commonly used lambda framework that smushes your Flask app into a lambda. It also provisions and sets up related AWS resources for running the app which is super helpful. I tried leveraging the Flask example and deploying with Zappa, but it didn't work, which isn't surprising since "under the hood" it's actually a lambda invoking the Flask routes. I tried tweaking the flask example with this bit below, but it wasn't quite right. It seemed like events were not being properly processed, I'm not sure.
Zappa looks so cool! If I understand correctly, Zappa runs Flask, Django, and so on as-is on FaaS. As long as your Flask app works along with Zappa on FaaS, your bolt-python app should not need any adapter on the bolt-python side.
process_before_response=True
Yes, this option must be enabled for FaaS use case.
Can you share a bit more details such as your current source code, the errors that you are facing with us? In the same reason with #619 (comment) for Quart framework, supporting Zappa is not our high priority. We are happy to help you out as much as possible but we don't have the bandwidth to create a new example in the short term.
Also, I know that you are planning to use Zappa for your app management but in general, we highly recommend our simple aws-lambda adapter. With the adapter, you can more easily take advantage of built-in features such as lazy listeners: https://slack.dev/bolt-python/concepts#lazy-listeners For FaaS use cases, lazy listeners are so powerful. Implementing the same on your own would require more efforts and research.
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.
Zappa is a commonly used lambda framework that smushes your Flask app into a lambda. It also provisions and sets up related AWS resources for running the app which is super helpful. I tried leveraging the Flask example and deploying with Zappa, but it didn't work, which isn't surprising since "under the hood" it's actually a lambda invoking the Flask routes. I tried tweaking the flask example with this bit below, but it wasn't quite right. It seemed like events were not being properly processed, I'm not sure.
https://github.com/zappa/Zappa
Category (place an
x
in each of the[ ]
)Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: