Package org.apache.kafka.clients.admin
Class DegradedBroker
java.lang.Object
org.apache.kafka.clients.admin.DegradedBroker
Constructor Summary
ConstructorsConstructorDescriptionDegradedBroker(int brokerId, Set<DegradedBrokerComponent> degradedBrokerComponents) Method Summary
Modifier and TypeMethodDescriptionintbrokerId()The brokerId whose health state we want to alter.The set of degraded broker components.booleaninthashCode()reasons()The list of reasons that this broker is currently degraded for.org.apache.kafka.common.message.DescribeBrokerHealthResponseData.DegradedBrokerresponse(short requestVersion) Generates the response object using the request version.toString()
Constructor Details
DegradedBroker
Method Details
brokerId
public int brokerId()The brokerId whose health state we want to alter.degradedBrokerComponents
The set of degraded broker components.reasons
The list of reasons that this broker is currently degraded for.response
public org.apache.kafka.common.message.DescribeBrokerHealthResponseData.DegradedBroker response(short requestVersion) Generates the response object using the request version.toString
equals
hashCode
public int hashCode()