influxdata / influxdata/influxdb-client-java

Bucket schema management API?

Open
#562 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
477
Forks
129
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing Java bucket APIs and the proposed BucketSchemaApi, then compare them with the InfluxDB HTTP API referenced in the issue. Done means the client can create a bucket schema for an explicit-schema bucket without requiring a separate HTTP or JSON library.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.