-
-
Notifications
You must be signed in to change notification settings - Fork 62
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 support for an HTTP/FaaS runtime #25
Comments
This issue has been automatically marked as stale because it has not had recent activity 😴 |
@fmvilas interesting idea for sure. So here is a use case (is this what you mean)
Is this the kinda flow you mean? |
Yeah! The last point is optional though. Depending on the protocol we may not be able to give any feedback to the user. |
Hello sir, @fmvilas |
Awesome! Yeah, no worries. During the mentorship program, I'll be here to support you. If this issue gets selected, of course 😄 |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
This is still relevant, @github-actions. Please don't close it 🙏 |
@fmvilas
@Souvikns anything from your side? |
After considering different approaches to resolving this issue with the help of @fmvilas, three potential solutions were identified. 1) Utilizing Extensions in the AsyncAPI FileThis solution appears to be an obvious first choice. By adding an extension such as 2) Exporting Configuration from the FunctionsThe current approach that we use for lifecycle methods. Where a function and the corresponding triggering event are returned. 3) Adding a
|
@KhudaDad414 Help me understand here, is this the flow you are going with some data gets published to Glee --> control goes to Glee function --> Glee function returns another functions and some config --> glee uses that config to make API call and then calls the returned functions with the response can't I make the API call in glee function itself as part of my business logic. |
more or less. what it should do with the response?Short answer, I don't know. 😆
You definitely can but glee can abstract the API call for you. like retrying the call in case it fails with the |
We should definitely treat the response the same way we treat a function's
Well, this creates coupling but it doesn't have to necessarily be an issue. Some people would argue it is and some will not. IMHO, Glee shouldn't make any opinion on that matter since it's an architectural decision.
This! 💯 Anyone can make an HTTP call but making sure you retry it if it fails, you adapt to rate limiting issues, etc. is what actually makes it production-ready. |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
Reason/Context
We're currently hosting the functions within the same repository but it could be useful to have them as serverless functions.
Description
Implement an HTTP runtime that will make an HTTP call to a FaaS (Function as a Service) provider and waits for the HTTP response.
The HTTP response may vary from one provider to another. From the top of my head, we should support AWS Lambda, Netlify functions, Vercel, Azure Functions, GCP Cloud Functions.
The text was updated successfully, but these errors were encountered: