Repository navigation
feat(streams): expose maxUniquePropertiesWithData & consumption - #2919
Draft
andersfylling wants to merge 3 commits into
Draft
andersfylling wants to merge 3 commits into
andersfylling wants to merge 3 commits into
Conversation
Streams have a cap on the number of unique properties that can hold data, but SDK users had no way to see a stream's own cap or how much of it is used, so they could not tell how much property capacity a stream has left before writes start failing. The streams API now returns this as settings.limits.uniquePropertiesWithData (alpha), so surface it on StreamLimitSettings and request it from the stream endpoints. HVD-1482 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…_data The API exposes this limit as maxUniquePropertiesWithData, in line with the other per-stream limits (maxRecordsTotal, maxGigaBytesTotal) and with the same key in the stream template listing, so the SDK field follows that name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The expanded Args section added noise to the diff without being needed for the new field. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Allows users to estimate how much more they can ingest before hitting their capacity.