More intuitive and concise code for AWS S3 and SQS operations.
For sample code see:
aws-utils/src/main/java/io/schinzel/samples/
To run the S3File samples and tests add the following lines to a .env
file in project root.
The X:es and Y:es are replaced with the actual keys.
AWS_S3_ACCESS_KEY=XXXX
AWS_S3_SECRET_KEY=YYYY
To run the SQS samples and tests add the following lines to a .env
file in project root.
The X:es and Y:es are replaced with the actual keys.
AWS_SQS_ACCESS_KEY=XXXX
AWS_SQS_SECRET_KEY=YYYY
2024-10-09
- Added support for uploading webp files to S3File. Affected methods:
write(String fileContent)
write(byte[] fileContent)
- Updated dependencies
2023-05-22
- New method added to
S3File
write(byte[] fileContent)
2023-03-08
- Updated dependencies
2022-06-30
- Updated dependencies
2021-10-22
- Updated dependencies
2021-10-21
- Updated dependencies
2021-01-12
- Updated dependency
- New methods added to
SqsConsumer
clone
close
getQueueUrl
2020-10-21
- Updated dependency
2020-02-25
- Added
Message
methodgetNumberOfTimesRead
which returns the number of times a message has been read from the queue but not deleted. This can be used to handle messages (for example logging and deleting) whos handling has failed X times after being read from queue.
2020-01-29
- Added
SqsProducer
propertyguaranteedOrder
.- If set to true, all messages have the same group id. As the queues are FIFO queues no message can be read until the first is deleted.
- If set to false, all messages have a unique group id. This allows the message after the first to be read if the first is invisible. But as the queues are FIFO it is guaranteed that there are no duplicate messages as opposed to standard queues.
2020-01-03
- Updated dependencies
2019-07-24
- Updated dependencies
2019-03-30
- IS3File methods return IS3File instead of S3File
2018-07-10
- First version with
S3File
for more intuitive and concise S3 file operations.