Package org.apache.kafka.common.errors
Class BrokerRemovalCanceledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.common.errors.ApiException
org.apache.kafka.common.errors.BrokerRemovalCanceledException
- All Implemented Interfaces:
Serializable
Thrown if a broker removal request for the specific broker was canceled.
Right now, this can happen due to:
- the broker being restarted while the removal operation is ongoing
- the balancer being disabled while removal is on-going
- a broker replica exclusion being detected while removal is on-going.
In the future, we may support explicit user cancellations.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBrokerRemovalCanceledException
(String message) BrokerRemovalCanceledException
(String message, Throwable cause) -
Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BrokerRemovalCanceledException
-
BrokerRemovalCanceledException
-