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

Add tooling for create sharded streams #940

Open
AbstractiveNord opened this issue Dec 24, 2023 · 0 comments
Open

Add tooling for create sharded streams #940

AbstractiveNord opened this issue Dec 24, 2023 · 0 comments
Labels
proposal Enhancement idea or proposal

Comments

@AbstractiveNord
Copy link

AbstractiveNord commented Dec 24, 2023

Proposed change

Add a feature 'sharded' for command 'stream add'. Idea is all about modification user subject by adding partition number into subject and internally create a requested count of stream-shards, also with subject mapping configuration for nats servers. For example, nats stream add streamname --shards=100.

Use case

Everytime when you want to split load or utilize more servers for storing data in Jetstream streams.

Contribution

Yes.

@AbstractiveNord AbstractiveNord added the proposal Enhancement idea or proposal label Dec 24, 2023
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

1 participant