Class AddRaftVoterOptions

java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<AddRaftVoterOptions>
org.apache.kafka.clients.admin.AddRaftVoterOptions

@Stable public class AddRaftVoterOptions extends AbstractOptions<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.