The documentation shows that the exposed handler (via io.quarkus.amazon.lambda.runtime.QuarkusStreamHandler::handleRequest in the packaged application) is configured by setting quarkus.lambda.handler in application.properties. However in my case I'd like to deploy multiple handlers from the same project.
Does anyone know of a way, or whether it's possible, to expose more than a single handler from a quarkus-lambda project?
Edit: After reading through https://github.com/quarkusio/quarkus/blob/master/extensions/amazon-lambda/runtime/src/main/java/io/quarkus/amazon/lambda/runtime/AmazonLambdaRecorder.java#L89 it seems that this is indeed not possible right now, is that correct?
GETon/pets/{id}, and aPOSTon/petsin the API gateway, then these would integrate both with different handlers in the same deployment. The upside is that we can use LPP on the lambdas, we can use different IAM policies per endpoint, etc, while still using a shared codebase per service. I think using the "monolambda" approach you're describing means we'd have to give up at least some of that. - bcd