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

We probably need an example of how to use the AlterPartitionReassignments function #2735

Open
VinGarcia opened this issue Nov 28, 2023 · 1 comment
Labels
needs-investigation Issues that require followup from maintainers stale/exempt Issues and pull requests that should never be closed as stale

Comments

@VinGarcia
Copy link

VinGarcia commented Nov 28, 2023

Description

Right now I needed to change the replication factor of an existing topic, and I found this issue here that discusses this:

#1238

This issue culminated on a PR that added the function:

But the API is not intuitive since the request object has an AddBlock function that expects as argument a replicas []int32, and I was (naively) expecting a function that would receive just the number of desired replicas and update the topic accordingly.

So what I really need right now is to know how to use this function for changing the number of replicas and in particular what exactly to pass as the replicas slice; but we could take this opportunity to also add an example to either the examples/ directory or the GoDoc. I could write a PR for that if necessary.

@sanathkumarbs
Copy link

+1

@dnwe dnwe added stale/exempt Issues and pull requests that should never be closed as stale needs-investigation Issues that require followup from maintainers labels Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-investigation Issues that require followup from maintainers stale/exempt Issues and pull requests that should never be closed as stale
Projects
None yet
Development

No branches or pull requests

3 participants