spring-cloud-aws icon indicating copy to clipboard operation
spring-cloud-aws copied to clipboard

Annotation driven endpoint for SNS subscription doesn't work with WebFlux

Open bikerp opened this issue 1 year ago • 2 comments

Type: Bug

Component:SNS

Annotation driven endpoint doesn't work with WebFlux When subscription request is received then error appears: No primary or single unique constructor found for interface io.awspring.cloud.sns.handlers.NotificationStatus I used code mentioned in documentation https://docs.awspring.io/spring-cloud-aws/docs/3.0.1/reference/html/index.html#spring-cloud-aws-sns

Used libraries SpringBoot 3.0.6 WebFlux Spring Cloud AWS 3.0.1 Localstack 1.4.0

I have checked the payload and http headers send by localstack and they are compliant witjh AWS specification https://docs.aws.amazon.com/sns/latest/dg/sns-message-and-json-formats.html#http-subscription-confirmation-json

When trying with standard MVC i.e. without WebFlux then it works

bikerp avatar May 15 '23 12:05 bikerp

Hey @bikerp , thanks on reporting. it is not a bug but rather missing feature, we are aware of it. It was missing in 2.x as well.

Are you maybe willing to make a Contribution?

MatejNedic avatar May 16 '23 14:05 MatejNedic

Hi @MatejNedic , I'd like to contribute but I think my knowledge is not enough for that

bikerp avatar May 31 '23 12:05 bikerp