Package org.apache.kafka.common
Class Endpoint
java.lang.Object
org.apache.kafka.common.Endpoint
Represents a broker endpoint.
-
Constructor Summary
ConstructorDescriptionEndpoint
(String listenerName, SecurityProtocol securityProtocol, String host, int port) -
Method Summary
-
Constructor Details
-
Endpoint
-
-
Method Details
-
listenerName
Returns the listener name of this endpoint. This is non-empty for endpoints provided to broker plugins, but may be empty when used in clients. -
securityProtocol
Returns the security protocol of this endpoint. -
host
Returns advertised host name of this endpoint. -
port
public int port()Returns the port to which the listener is bound. -
equals
-
hashCode
public int hashCode() -
toString
-