Skip to content

Commit

Permalink
non blocking triggerPreferredLeaderElection (#286)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Choi <li_andchoi@microsoft.com>
  • Loading branch information
Andrew Choi committed Jun 25, 2020
1 parent 56b9bf9 commit 98b525e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ private void triggerPreferredLeaderElection(List<TopicPartitionInfo> partitionIn
}
ElectPreferredLeadersResult electPreferredLeadersResult = _adminClient.electPreferredLeaders(partitions);

LOGGER.info("{}: triggerPreferredLeaderElection - {}", this.getClass().toString(), electPreferredLeadersResult.all().get());
LOGGER.info("{}: triggerPreferredLeaderElection - {}", this.getClass().toString(), electPreferredLeadersResult.all());
}

private static void reassignPartitions(KafkaZkClient zkClient, Collection<Node> brokers, String topic, int partitionCount, int replicationFactor) {
Expand Down

0 comments on commit 98b525e

Please sign in to comment.