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

KAFKA-3245: config for changelog replication factor #948

Closed
wants to merge 3 commits into from

Conversation

ymatsuda
Copy link
Contributor

Map<Integer, List<Integer>> newAssignment = new HashMap<>(existingAssignment);

for (int i = 0; i < numPartitions; i++) {
newAssignment.put(i + startIndex, Collections.singletonList(brokers.get(i + startIndex) % brokers.size()));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should singletonList(broker.get(i + startIndex) % brokers.size()) be
singletonList(broker.get((i + startIndex) % brokers.size()))? @guozhangwang

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah that is right. Good catch!

@asfgit asfgit closed this in 878b78a Feb 23, 2016
@guozhangwang
Copy link
Contributor

Merged to trunk.

guozhangwang pushed a commit to guozhangwang/kafka that referenced this pull request Mar 1, 2016
guozhangwang

Author: Yasuhiro Matsuda <yasuhiro@confluent.io>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes apache#948 from ymatsuda/changelog_topic_replication
@ymatsuda ymatsuda deleted the changelog_topic_replication branch March 23, 2016 23:29
efeg pushed a commit to efeg/kafka that referenced this pull request Jan 29, 2020
ahuang98 pushed a commit to ahuang98/kafka that referenced this pull request Sep 29, 2023
…stem tests (apache#948)

* Test: Trying to fix the breaking build due to requests v2.31.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants