Skip to content
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

feat(s3stream): object storage writer #1445

Merged
merged 3 commits into from
Jun 20, 2024
Merged

Conversation

warr99
Copy link
Contributor

@warr99 warr99 commented Jun 20, 2024

  • update copyWrite parameter to accept S3ObjectMetadata
  • The logic of ProxyWriterV2 and MultiPartWriterV2 is essentially the same as that of ProxyWriter and MultiPartWriterV2, with the primary changes being:
    • Utilization of the new object storage abstraction AbstractObjectStorage.
    • Replacement of Context and ThrottleStrategy with WriteOptions.


public WriteOptions throttleStrategy(ThrottleStrategy throttleStrategy) {
this.throttleStrategy = throttleStrategy;
return this;
}

public WriteOptions context(Writer.Context context) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extract Writer.Context to the WriteOptions

@superhx superhx merged commit a5b9385 into main Jun 20, 2024
7 checks passed
@superhx superhx deleted the feat/object-storage-writer branch June 20, 2024 04:00
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants