Comments (7)
cc @msailes @pankajagrawal16 @jeromevdl could take a look into this, please?
from powertools-lambda-java.
from powertools-lambda-java.
Hi @andavies ,
Apologies for delay in response. I have been out sick but now recovering.
I pushed a sample gradle repo which is using SQS module as well. It is using java 11 and gradle 6. This is how my build.gradle looks. Let me know if this helps to get things working for you?
An easy way to start with initial setup is to use Quick hello world examples using SAM CLI mentioned here. I basically started with this in the sample repo above and then added sqs module specific dependencies.
If use of annotation SqsLargeMessage
is not desired, you can also opt to use fluent API also show in sample repo that I pushed.
For the documentation, install steps are mentioned here but maybe we can make it more explicit somehow.
Let me know if this solves your issues and feel free to update the issue accordingly.
from powertools-lambda-java.
Hi @andavies ,
Hope this works for you now?
from powertools-lambda-java.
Hi @andavies,
Did you get around testing it again?
from powertools-lambda-java.
Ok so I took the following from your build.gradle and put it into my own...
plugins {
id 'aspectj.AspectjGradlePlugin' version '0.0.6'
}
dependencies {
implementation 'software.amazon.lambda:powertools-sqs:1.5.0'
aspectpath 'software.amazon.lambda:powertools-sqs:1.5.0'
}
and I get the error You must set the property 'aspectjVersion' before applying the aspectj plugin
.
Thank you for your help - I'm sure there's a fix to this error as well, but honestly it's just not worth me spending any more time trying to fix it - I made a little workaround that avoids having to use powertools. Feel free to close the issue and thanks again.
from powertools-lambda-java.
Ok thanks for the feedback. I will close this issue for now.
from powertools-lambda-java.
Related Issues (20)
- Putting metrics fails when POWERTOOLS_METRICS_NAMESPACE is not set HOT 3
- Logging: Trace ID not logged with Java 17 runtime HOT 1
- Feature enhancement: Create a Subsegments for operations handled by Powertools HOT 5
- Logging: print `message` as JSON, instead of wrapping into a string HOT 14
- Exceptions not showing in Traces HOT 1
- RFC: Introduce Version 2
- RFC: Remove support for Java 8 in V2 HOT 7
- Feature enhancement (Logger): automatically intercept Runtime exceptions, and log information HOT 7
- Log level not restored at the end of execution HOT 2
- Support batch secrets retrieval in Parameters module HOT 6
- Maintenance: update jackson and aws-xray-recorder dependencies together HOT 4
- RFC: handle batch messages in parallel in batch module HOT 12
- v2: Example logging configuration needs to be updated HOT 3
- v2 - Params builders do not supply default TransformationManager HOT 1
- bug - v2 - end-to-end tests broken
- AbstractCustomResourceHandler - Unable to send response HOT 2
- LambdaEcsLayout seems to incorrectly serialize the service field HOT 7
- Add support for CRaC
- RFC: support for multi-endpoint HTTP handler Lambda functions HOT 9
- Docs: Add Powertools for AWS Lambda workshop to documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powertools-lambda-java.