-
Notifications
You must be signed in to change notification settings - Fork 262
New spring-batch-s3 module #182
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Andrea Cioni <[email protected]>
b6e9643
to
e3f3ce1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work!
Here are some places that could be improved from my point of view.
...tch-s3/src/main/java/org/springframework/batch/extensions/s3/stream/S3MultipartUploader.java
Show resolved
Hide resolved
spring-batch-s3/src/test/java/org/springframework/batch/extensions/s3/S3ItemReaderTests.java
Outdated
Show resolved
Hide resolved
...c/test/java/org/springframework/batch/extensions/s3/stream/S3MultipartOutputStreamTests.java
Outdated
Show resolved
Hide resolved
...3/src/test/java/org/springframework/batch/extensions/s3/stream/S3MultipartUploaderTests.java
Outdated
Show resolved
Hide resolved
...tch-s3/src/test/java/org/springframework/batch/extensions/s3/stream/S3OutputStreamTests.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @andreacioni, thanks for the PR!
I suggest adding a CI job, see for example the one for Spring Batch Notion.
Also, the new module should be mentioned in the root README.
Signed-off-by: Andrea Cioni <[email protected]>
- Builders moved to a dedicated package - project README.adoc updated; - root README.md updated: add reference to new module; - use org.springframework.util.unit.DataSize to express data sizes; - removed apache-client exclusion in pom.xml to allow user to not specify an actual implementation in their dependencies - updated spring-javaformat-checkstyle to match the latest version - update gitignore to match the one of Spring Batch Notion - Add Maven Wrapper executables - Add Github Action workflow - Removed maven-wrapper.jar - Code cleanup Signed-off-by: Andrea Cioni <[email protected]>
- pom.xml reformatted - root README missing Amazon S3 link - atLeastOnce abandoned in favor of times(x) - minor corrections Signed-off-by: Andrea Cioni <[email protected]>
Signed-off-by: Andrea Cioni <[email protected]>
Signed-off-by: Andrea Cioni <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to have a review from @fmbenhassine also.
...ch-s3/src/main/java/org/springframework/batch/extensions/s3/builder/S3ItemWriterBuilder.java
Outdated
Show resolved
Hide resolved
spring-batch-s3/src/main/java/org/springframework/batch/extensions/s3/stream/Defaults.java
Outdated
Show resolved
Hide resolved
spring-batch-s3/src/test/java/org/springframework/batch/extensions/s3/S3ItemReaderTests.java
Show resolved
Hide resolved
Co-authored-by: Volodymyr <[email protected]> Signed-off-by: Andrea Cioni <[email protected]>
…ions/s3/S3ItemReaderTests.java Co-authored-by: Volodymyr <[email protected]> Signed-off-by: Andrea Cioni <[email protected]>
…ions/s3/builder/S3ItemWriterBuilder.java Co-authored-by: Volodymyr <[email protected]> Signed-off-by: Andrea Cioni <[email protected]>
…ions/s3/stream/Defaults.java Co-authored-by: Volodymyr <[email protected]> Signed-off-by: Andrea Cioni <[email protected]>
Hello everyone,
after struggling a bit with S3 and Spring Batch I want to contribute to this ecosystem with my little knowledge by proposing this PR to your attention. In the past I've followed some discussion that lead me here (mainly #3818). I had to work with S3 in the past years and I had to implement such Reader/Writer each time, moreover it's a new addition to AWS SDK the API to upload objects with unknown size (reference) from streams. Given this inputs I decided that was time for Spring Batch to have some support for S3, hope this will be welcome.
More information are in the README, please let me know if there is something missing I'd be happy to fix it.