public class Assignments extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Assignments.Status |
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_REASSIGN_THROTTLE_LIMIT |
static long |
DEFAULT_REASSIGN_TIMEOUT |
| Constructor and Description |
|---|
Assignments(Clients clients) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<Integer,List<Integer>>> |
fromJson(String json) |
Map<String,Map<Integer,List<Integer>>> |
getOfTopics(Set<String> topics) |
void |
reassign(Map<String,Map<Integer,List<Integer>>> assignments) |
void |
reassign(Map<String,Map<Integer,List<Integer>>> assignments,
long interBrokerLimit,
long replicaAlterLogDirsLimit,
long timeout) |
String |
toJson(Map<String,Map<Integer,List<Integer>>> assignments) |
Map<String,Map<Integer,Assignments.Status>> |
verifyAssignment(Map<String,Map<Integer,List<Integer>>> assignments) |
public static final long DEFAULT_REASSIGN_THROTTLE_LIMIT
public static final long DEFAULT_REASSIGN_TIMEOUT
public Assignments(Clients clients)
public void reassign(Map<String,Map<Integer,List<Integer>>> assignments, long interBrokerLimit, long replicaAlterLogDirsLimit, long timeout)
public Map<String,Map<Integer,Assignments.Status>> verifyAssignment(Map<String,Map<Integer,List<Integer>>> assignments)
Copyright © 2018 mydotey.org. All rights reserved.