Class Endpoint


  • @Evolving
    public class Endpoint
    extends Object
    Represents a broker endpoint.
    • Method Detail

      • listenerName

        public Optional<String> 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

        public SecurityProtocol securityProtocol()
        Returns the security protocol of this endpoint.
      • host

        public String host()
        Returns advertised host name of this endpoint.
      • port

        public int port()
        Returns the port to which the listener is bound.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object