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

Bucket schema management API? #562

Open
bmaso-dw opened this issue May 17, 2023 · 0 comments
Open

Bucket schema management API? #562

bmaso-dw opened this issue May 17, 2023 · 0 comments

Comments

@bmaso-dw
Copy link

Proposal:
A BucketSchemaApi to provide convenient access to the bucket schema management features.

Current behavior:

  • While it is possible to create an "explicit" Bucket through the Java API, it is not possible to create a bucket schema

Desired behavior:
I want to be able to create a bucket schema for an explicit schema bucket

Alternatives considered:
The only way to do this currently is to directly use the InfluxDb HTTP API. Its quite awkward to be able to access almost all of the InfluxDb features through the client lib, but have to drop down to using a separate HTTP lib and JSON serialization/deserialization lib for my bespoke type for representing bucket schema.

Use case:
Bucket schema seem pretty important for ensuring bucket contents will always fulfill some basic content constraints. An implicit bucket can contain anything, so would require a ton of data validation for even the simplest use-case of bucket content consumption.

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

No branches or pull requests

1 participant