public class Brokers extends Object
| Modifier and Type | Method and Description |
|---|---|
protected void |
changeAssignmentsForTransfer(int from,
int to,
Map<String,Map<Integer,List<Integer>>> assignments) |
Map<String,Map<Integer,List<Integer>>> |
generateAssignmentsForTransfer(int from,
int to,
Set<String> topics) |
Map<String,Map<Integer,List<Integer>>> |
generateAssignmentsForTransfer(int from,
int to,
String topic,
Set<Integer> partitions) |
Set<Integer> |
getAll() |
Map<String,Map<Integer,List<Integer>>> |
getAssignments(int broker,
Set<String> topics) |
Map<String,Map<Integer,List<Integer>>> |
getAssignments(int broker,
String topic,
Set<Integer> partitions) |
Map<String,Set<Integer>> |
getTopicPartitons(int broker,
Set<String> topics) |
Set<String> |
getTopics(int broker) |
public Brokers(Clients clients)
public Map<String,Map<Integer,List<Integer>>> getAssignments(int broker, Set<String> topics)
public Map<String,Map<Integer,List<Integer>>> getAssignments(int broker, String topic, Set<Integer> partitions)
public Map<String,Map<Integer,List<Integer>>> generateAssignmentsForTransfer(int from, int to, Set<String> topics)
public Map<String,Map<Integer,List<Integer>>> generateAssignmentsForTransfer(int from, int to, String topic, Set<Integer> partitions)
Copyright © 2018 mydotey.org. All rights reserved.