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

object store implementation. #705

Merged
merged 20 commits into from
Sep 6, 2022
Merged

object store implementation. #705

merged 20 commits into from
Sep 6, 2022

Conversation

scottf
Copy link
Contributor

@scottf scottf commented Aug 16, 2022

Object Store Implementation and Test
Additional unit test coverage.
Also fixes some documentation and removes beta tag from KV

… some shared code. Also fixes some documentation and removes beta tag from KV
@scottf scottf requested a review from arondi August 16, 2022 17:28
@scottf scottf marked this pull request as draft August 16, 2022 19:57
@scottf scottf changed the title code preparing for object store implementation. object store implementation. Aug 17, 2022
@scottf scottf marked this pull request as ready for review August 28, 2022 18:04
@scottf scottf requested review from RichardHightower, tbeets and piotrpio and removed request for arondi August 28, 2022 18:05
Copy link
Contributor

@RichardHightower RichardHightower left a comment

Choose a reason for hiding this comment

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

LGTM

/**
* Get the name of the object store's bucket.
* THIS IS A BETA FEATURE AND SUBJECT TO CHANGE
* @return the name
Copy link
Contributor

Choose a reason for hiding this comment

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

please add API comments

ObjectInfo put(ObjectMeta meta, InputStream inputStream) throws IOException, JetStreamApiException, NoSuchAlgorithmException;
ObjectInfo put(String name, InputStream inputStream) throws IOException, JetStreamApiException, NoSuchAlgorithmException;
ObjectInfo put(String name, byte[] input) throws IOException, JetStreamApiException, NoSuchAlgorithmException;
ObjectInfo put(File file) throws IOException, JetStreamApiException, NoSuchAlgorithmException;
Copy link
Contributor

Choose a reason for hiding this comment

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

ByteBuffer?

* The FeatureOptions class specifies the general options for features.
* Options are created using the {@link FeatureOptions.Builder Builder}.
*/
public class FeatureOptions {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be abstract?

@scottf scottf merged commit b07cb7f into main Sep 6, 2022
@scottf scottf deleted the object-store-partial-1 branch September 6, 2022 17:58
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.

None yet

2 participants