Class Endpoint
java.lang.Object
org.apache.kafka.common.Endpoint
Represents a broker endpoint.
- 
Constructor Summary
ConstructorsConstructorDescriptionEndpoint(String listener, SecurityProtocol securityProtocol, String host, int port)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()host()Returns advertised host name of this endpoint.listener()Returns the listener name of this endpoint.Deprecated, for removal: This API element is subject to removal in a future version.Since 4.1.intport()Returns the port to which the listener is bound.Returns the security protocol of this endpoint.toString() 
- 
Constructor Details
- 
Endpoint
 
 - 
 - 
Method Details
- 
listener
Returns the listener name of this endpoint. - 
listenerName
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.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
 - 
connectionString
 - 
hashCode
 - 
toString
 
 -