Skip to content

Schinzel/aws-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

aws-utils

Maintainability Rating Coverage Security Rating Technical Debt Lines of Code

More intuitive and concise code for AWS S3 and SQS operations.

Samples

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

Releases

1.0.6

2024-10-09

  • Added support for uploading webp files to S3File. Affected methods:
    • write(String fileContent)
    • write(byte[] fileContent)
  • Updated dependencies

1.0.5

2023-05-22

  • New method added to S3File
    • write(byte[] fileContent)

1.0.4

2023-03-08

  • Updated dependencies

1.0.3

2022-06-30

  • Updated dependencies

1.0.2

2021-10-22

  • Updated dependencies

1.0.1

2021-10-21

  • Updated dependencies

1.0

2021-01-12

  • Updated dependency
  • New methods added to SqsConsumer
    • clone
    • close
    • getQueueUrl

0.97

2020-10-21

  • Updated dependency

0.96

2020-02-25

  • Added Message method getNumberOfTimesRead 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.

0.95

2020-01-29

  • Added SqsProducer property guaranteedOrder.
    • 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.

0.94

2020-01-03

  • Updated dependencies

0.93

2019-07-24

  • Updated dependencies

0.92

2019-03-30

  • IS3File methods return IS3File instead of S3File

0.9

2018-07-10

  • First version with S3File for more intuitive and concise S3 file operations.

About

For easy reading from and writing to AWS S3 and SQS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages