question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

problem using quarkus-resteasy-reactive-kotlin-serialization with AwsProxyRequestContext

See original GitHub issue

Hi All,

I’m trying to use quarkus-resteasy-reactive-kotlin-serialization on a Kotlin jax-rs reactive endpoint deployed on AWS. Below the method signature:

  @POST
  @Path("/send")
  fun signUp(request: RegistrationRequest, @Context context: AwsProxyRequestContext): RegistrationResult? =
      service.signUp(request, awsRequestId = request.requestId)

Unfortunately, Quarkus returns Bad request when trying to call this endpoint from APIGateway test page. No error is shown since quarkus itself intercept the request without accessing the method body.

After some trials, I managed to be able to access the context object by using quarkus-resteasy-jackson (so, no kotlin-serialization nor reactive), but this is not what I want to obtain.

Am I missing something?

Thanks for all your work!!

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
geoandcommented, Feb 7, 2022

Yes, Jackson is the only tested way to deserialize input for quarkus-amazon-lambda-rest

1reaction
geoandcommented, Feb 4, 2022

Do you think it could work?

Can’t say since I’ve never tried something like that. @evanchooly might now more

Read more comments on GitHub >

github_iconTop Results From Across the Web

Writing REST Services with RESTEasy Reactive - Quarkus
This guide explains how to write REST Services with RESTEasy Reactive in Quarkus. This is the reference guide for RESTEasy Reactive. For a...
Read more >
Amazon Lambda with RESTEasy Reactive, Undertow, or ...
With Quarkus you can deploy your favorite Java HTTP frameworks as Amazon Lambda's using either the AWS Gateway HTTP API or AWS Gateway...
Read more >
Announcing RESTEasy Reactive - Quarkus
Our benchmarks reveal that the measurable performance with this new extension is almost identical to what we would achieve using Quarkus' ...
Read more >
RESTEasy Reactive - To block or not to block - Quarkus
The central question is about the usage of Hibernate ORM. As Hibernate ORM classic (we also have Hibernate reactive) is blocking, you can't...
Read more >
RESTEasy Classic - Quarkus
there is another guide if you need a REST client based on RESTEasy Classic (including support for JSON). Architecture. The application built in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found