Package org.apache.kafka.clients.admin
Class RaftVoterEndpoint
java.lang.Object
org.apache.kafka.clients.admin.RaftVoterEndpoint
An endpoint for a raft quorum voter.
-
Constructor Summary
ConstructorsConstructorDescriptionRaftVoterEndpoint
(String listener, String host, int port) Create an endpoint for a metadata quorum voter. -
Method Summary
-
Constructor Details
-
RaftVoterEndpoint
Create an endpoint for a metadata quorum voter.- Parameters:
listener
- The human-readable name for this endpoint. For example, CONTROLLER.host
- The DNS hostname for this endpoint.port
- The network port for this endpoint.
-
-
Method Details
-
listener
The listener name for this endpoint. -
name
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.1. Uselistener()
instead. This function will be removed in 5.0. -
host
-
port
public int port() -
equals
-
hashCode
public int hashCode() -
toString
-