Skip to content

Conversation

klorand
Copy link
Contributor

@klorand klorand commented Nov 3, 2016

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
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
Copy link
Contributor

kanakb commented Nov 3, 2016

Thanks for the contribution!

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

glasser commented Dec 17, 2018

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

@stalaie
Copy link

stalaie commented Dec 18, 2018

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

@glasser
Copy link

glasser commented Dec 18, 2018

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
Copy link
Contributor

ekoontz commented Dec 19, 2018

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

@ekoontz
Copy link
Contributor

ekoontz commented Dec 19, 2018

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