Class AddRaftVoterOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<AddRaftVoterOptions>
org.apache.kafka.clients.admin.AddRaftVoterOptions
Options for
Admin.addRaftVoter(int, org.apache.kafka.common.Uuid, java.util.Set<org.apache.kafka.clients.admin.RaftVoterEndpoint>). The clusterId is optional.
If provided, the request will only succeed if the cluster id matches the id of the current cluster. If the cluster id does not match, the request will fail with Errors.INCONSISTENT_CLUSTER_ID.
If not provided, the cluster id check is skipped.
Constructor Summary
ConstructorsMethod Summary
Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
Constructor Details
AddRaftVoterOptions
public AddRaftVoterOptions()
Method Details
setClusterId
clusterId