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

Azure Storage: Azure storage support #3253 #3254

Merged
merged 81 commits into from
Oct 3, 2024

Conversation

sfali
Copy link
Contributor

@sfali sfali commented Aug 27, 2024

References #3253

Work in progress, still needs to add more tests and documentations.

Code style is copied from AWS S3 connector.

sfali added 30 commits August 23, 2024 16:55
It parses the returned XML and populate StorageException
1. Populates required date and version header
2. Reads current request and create authorization token as per AWS requirements
3. Populates authorization header
Current implementation only supports Blob and File services.
Currently supported functions:
1. Get blob and file
2. Put blob
3. Create file
3. Put range
4. Clear range
5. Delete blob and file
6. Get blob and file properties
1. Create query string with SAS token
2. Initialize query string
Copy link
Contributor

@girdharshubham girdharshubham left a comment

Choose a reason for hiding this comment

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

Looking good so far.

sfali and others added 6 commits September 10, 2024 10:45
…/StorageAttributes.scala

Co-authored-by: Shubham Girdhar <[email protected]>
…/StorageAttributes.scala

Co-authored-by: Shubham Girdhar <[email protected]>
1. Make sure we don't emit empty string
2. correct configuration
1. Request builder for delete container
2. Implementation of delete container and Scala and Java API
3. Tests for delete container
4. Documentation
1. Request builder for create & delete directories
2. Implementation of create & delete directories and Scala and Java API
3. Tests for create & delete directories
4. Documentation
@sfali
Copy link
Contributor Author

sfali commented Sep 14, 2024

Issue with Java API was misconfiguration, not sure why AzuriteIntegrationSpec is failing, any idea @girdharshubham?

@girdharshubham
Copy link
Contributor

Issue with Java API was misconfiguration, not sure why AzuriteIntegrationSpec is failing, any idea @girdharshubham?

Hi @sfali
Sorry this got delayed, I will check this soon.

@sebastian-alfers
Copy link
Contributor

Hi @sfali, can you share and update on this PR? Do you want to see your contribution merged for the next release?

@sfali
Copy link
Contributor Author

sfali commented Sep 30, 2024

Hi @sfali, can you share and update on this PR? Do you want to see your contribution merged for the next release?

What do you want me to share @sebastian-alfers? The PR is failing due to couchbase and ironmq connectors are failing. not sure what should I do with these connectors.

@sebastian-alfers
Copy link
Contributor

We fixed both in main, so feel free to rebase and give it a try.

@sfali
Copy link
Contributor Author

sfali commented Sep 30, 2024

We fixed both in main, so feel free to rebase and give it a try.

@sebastian-alfers Now scaaldoc and jms connector failed. Can pin point what's going? Can you please take a look and let me know what's going on.

Thanks

@sebastian-alfers
Copy link
Contributor

Thank you for bringing this to our attention. The scaladoc failure can be ignored for now, and the jms was something we just fixed in main, so please rebase again.

@sfali
Copy link
Contributor Author

sfali commented Oct 1, 2024

Thank you for bringing this to our attention. The scaladoc failure can be ignored for now, and the jms was something we just fixed in main, so please rebase again.

Thanks @sebastian-alfers , Everything is passing other than scaaldoc

@sebastian-alfers
Copy link
Contributor

Please let me know once you want to merge it.

@sfali
Copy link
Contributor Author

sfali commented Oct 2, 2024

Please let me know once you want to merge it.

This can be merge anytime. It needs to be approved.

@sfali
Copy link
Contributor Author

sfali commented Oct 3, 2024

It seems scaladoc pipeline needs to be successful before it can be merged. @sebastian-alfers

@sebastian-alfers sebastian-alfers merged commit 4049dca into akka:main Oct 3, 2024
47 of 48 checks passed
@sfali sfali deleted the 3253_azure_storage branch October 3, 2024 17:37
objectPath = objectPath,
requestBuilder = requestBuilder)

private[storage] def putBlob(objectPath: String,
Copy link

Choose a reason for hiding this comment

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

@sfali one question for large files may be of > 5-10Gb .. S3 has multipartUploadAPI for azure blob how are we going to achieve it ?

splitting in chunks?

adding some UTs would have been helpful..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency-change For PRs changing the version of a dependency. documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants