-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Support Async APIs for Lambda RequestHandler Interface #1164
Comments
Apologies for the delay. This seems to be a feature request for the actual lambda handler, is that a correct assumption? I.E an addition to http://docs.aws.amazon.com/lambda/latest/dg/java-programming-model-handler-types.html |
Yes - An asynchronous Lambda Handler for Java, where the handler can return
a Future/Promise object.
- Rowell
…On Thu, Jun 8, 2017 at 8:19 AM, Andrew Shore ***@***.***> wrote:
Apologies for the delay. This seems to be a feature request for the actual
lambda handler, is that a correct assumption? I.E an addition to
http://docs.aws.amazon.com/lambda/latest/dg/java-
programming-model-handler-types.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1164 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOw7fyBePWfG9WR0rVOsI8j3g33i2Qnks5sCALfgaJpZM4NfYIq>
.
|
Gotcha, we don't control the handler side of things. That's managed by the Lambda service team. I can pass this feedback along to them. Could you provide more details on your use case and why returning a future is desirable, I'm having trouble wrapping my head on how that will work with the lambda container architecture. Any details you can provide will help the service team with prioritization. |
@shorea its essentially the same async callback mechanism provided in the JavaScript handler. Many JVM frameworks/applications now support async handlers. It would be nice if the AWS Lambda Java SDK supports this programming model as well. |
Is there any progress on this? Example: Vertx framework. If I want to implement custom API gateway that would be invoked from http request, I need a async http request handler for lambda as vertx is a async framework. As @shorea mention this is already supported in AWS JavaScript handler. |
@pendula95 Have you opened a ticket through the AWS Support Center? It might be a more expedient approach since you'll have a more direct line of communication with Lambda that way. |
I am only testing features to see if AWS is suitable for our use case. I only have Basic Support Plan so I can't contact technical support. |
+1 (additionally on it, it´s normal return a 202 response on REST API´s...) |
Nothing on this yet? |
perhaps something like
The text was updated successfully, but these errors were encountered: