I want to configure aws lambda in my existing Spring boot project. In my project i am using lombok, kafka consumer, and microservice. I follow steps at:
https://github.com/awslabs/aws-serverless-java-container/wiki/Quick-start---Spring-Boot
I added dependency:
<dependency>
<groupId>com.amazonaws.serverless</groupId>
<artifactId>aws-serverless-java-container-spring</artifactId>
<version>[0.1,)</version>
</dependency>
I have some issues with this steps:
- Do i need to remove
@ComponentScanand use@Importfor all classes. Means if i have 10 controllers and 4 service classes and 2 repository classes that we are autowiring, So do we need to add all these classes in@Import
Actually i am new in this. Can anyone help me with simple steps?