Class BalancerOperationError
java.lang.Object
org.apache.kafka.clients.admin.BalancerOperationError
- Direct Known Subclasses:
BrokerRemovalError
The error that caused a balancer operation (broker removal, broker addition) to end up in the status it is in.
Constructor Summary
ConstructorsConstructorDescriptionBalancerOperationError(org.apache.kafka.common.protocol.Errors error, String errorMessage) Method Summary
Constructor Details
BalancerOperationError
Method Details
exception
- Returns:
- the Exception class that corresponds to this type of error
errorCode
public short errorCode()- Returns:
- the code of this error
errorMessage
toString
equals
hashCode