public class BrokerReplicaExclusionResult extends Object
Constructor and Description |
---|
BrokerReplicaExclusionResult(int brokerId,
Optional<org.apache.kafka.common.requests.ApiError> apiErrorOpt,
org.apache.kafka.clients.admin.ExclusionOp.OpType opType,
String reason) |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.kafka.common.requests.ApiError> |
apiErrorOptional() |
int |
brokerId() |
boolean |
equals(Object o) |
int |
hashCode() |
org.apache.kafka.clients.admin.ExclusionOp.OpType |
opType() |
String |
reason() |
String |
toString() |
public BrokerReplicaExclusionResult(int brokerId, Optional<org.apache.kafka.common.requests.ApiError> apiErrorOpt, org.apache.kafka.clients.admin.ExclusionOp.OpType opType, String reason)
brokerId
- - the ID that the operation was applied onapiErrorOpt
- - an optional, denoting whetheropType
- - the type of operator. e.g SET or DELETEreason
- - the reason the broker is excluded