public class AlterReplicaExclusionOp extends Object
| Constructor and Description |
|---|
AlterReplicaExclusionOp(int brokerId,
String reason,
org.apache.kafka.clients.admin.ExclusionOp.OpType opType)
A single operation to alter the exclusion on the given
brokerId |
public AlterReplicaExclusionOp(int brokerId,
String reason,
org.apache.kafka.clients.admin.ExclusionOp.OpType opType)
brokerIdbrokerId - - the broker we're altering replica exclusions forreason - - the reason we're altering replica exclusions. Commonly used for `SET`ting the exclusionopType - - the type of alter operation, like `SET` or `DELETE`public int brokerId()
public String reason()
public org.apache.kafka.clients.admin.ExclusionOp.OpType opType()