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

KV and Object need to allow for an option to limit the number of entries they return when listing keys #1485

Open
aricart opened this issue Dec 11, 2023 · 1 comment
Assignees
Labels
proposal Enhancement idea or proposal

Comments

@aricart
Copy link
Member

aricart commented Dec 11, 2023

Proposed change

Add an option to a specify the maximum number entries returned

Use case

large object store or kv will require sending a lot of data - this pairs with the option to not send values

Contribution

No response

@aricart aricart added the proposal Enhancement idea or proposal label Dec 11, 2023
@Jarema
Copy link
Member

Jarema commented Dec 11, 2023

This needs a change in ADR for both Object Store and Key Value storage.

Would be a perfect case for get direct many that we hope to have soon. If we want it faster, we would need an ordered consumer from which we unsubscribe after given number of messages.

Wouldn't the option to just stream (instead of aggregating) the keys in all clients be a more straighforward solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

3 participants