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