-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
spring boot native image is not able to read message from AWS SQS #1021
Comments
Hey @pulsar-gupta , we have open PR for this it is known issue. |
with some changes I was able to resolve the issue
second step was to register hints
and created image mvn -Pnative spring-boot:build-image Now works absolutely fine |
Fixes #468, #673, #1021, #1040 --------- Co-authored-by: Maciej Walkowiak <[email protected]>
Fixed in #856 |
Type: Bug
Component: SQS
Describe the bug
I have an application and it reads messages from sqs when run locally but as soon as I deploy it's native image on EKS nothing happens and messages are queued on SQS.
It looks as is my native image is not reading messages from SQS. No logs are printed and no exception.
Here is my code:
@configuration
public class ReaderConfiguration {
}
@component
public class SQSListner {
}
io.awspring.cloud
spring-cloud-aws-starter-sqs
org.springframework.boot
spring-boot-starter-parent
3.0.0
image is build using mvn -Pnative spring-boot:build-image
The text was updated successfully, but these errors were encountered: