Skip to content

add desired replication factor option - #4

Merged
kanakb merged 3 commits into
SiftScience:masterfrom
klorand:add-desired-replication-factor-parameter
Nov 3, 2016
Merged

add desired replication factor option#4
kanakb merged 3 commits into
SiftScience:masterfrom
klorand:add-desired-replication-factor-parameter

Conversation

@klorand

@klorand klorand commented Nov 3, 2016

Copy link
Copy Markdown
Contributor

for situation in which you want to increase replication factor on a topic, besides moving partitions amond nodes

…t to increase replication factor on a topic, besides moving partitions amond nodes
if (replicationFactor < 0) {
replicationFactor = replicas.size();
} else {
} else if (desiredReplicationFactor<0) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style nit: please add spaces on either side of the operator, i.e.

} else if (desiredReplicationFactor < 0) {

@kanakb

kanakb commented Nov 3, 2016

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

@kanakb
kanakb merged commit 50ba868 into SiftScience:master Nov 3, 2016
@glasser

glasser commented Dec 17, 2018

Copy link
Copy Markdown

This change (and this project in general) is very helpful. Would you consider uploading a new tarball release?

@stalaie

stalaie commented Dec 18, 2018

Copy link
Copy Markdown

@glasser, as @kanakb mentioned, thanks for your contribution. Working with the team here to address your question above. Stay tuned!

@glasser

glasser commented Dec 18, 2018

Copy link
Copy Markdown

Cool! FWIW I found #6 to be necessary as well.

It's hard for me to believe that this isn't just how kafka-reassign-partitions.sh works by default!

@ekoontz

ekoontz commented Dec 19, 2018

Copy link
Copy Markdown
Contributor

Hi @glasser, thanks for your interest in kafka-assigner! I have created a new release 1.1, which includes this PR.
-Eugene

@ekoontz

ekoontz commented Dec 19, 2018

Copy link
Copy Markdown
Contributor

I will also release a 1.2 which includes #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants