influxdata / influxdata/influxdb-client-java
Bucket schema management API?
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Java
- Sterne
- 477
- Forks
- 129
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die bestehenden Java-Bucket-APIs und die vorgeschlagene BucketSchemaApi zu überprüfen, und vergleiche sie anschließend mit der in diesem Issue referenzierten InfluxDB HTTP API. Als erledigt gilt die Aufgabe, wenn der Client ein Bucket-Schema für einen Bucket mit explizitem Schema erstellen kann, ohne eine separate HTTP- oder JSON-Bibliothek zu benötigen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- api, databases
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100