Interface EndpointBinding

All Known Subinterfaces:
NodeSpecificEndpointBinding
All Known Implementing Classes:
BootstrapEndpointBinding, BrokerEndpointBinding, MetadataDiscoveryBrokerEndpointBinding

public interface EndpointBinding
An endpoint binding.
  • Method Details

    • endpointGateway

      EndpointGateway endpointGateway()
      The endpoint listener.
      Returns:
      virtual cluster.
    • upstreamTarget

      HostPort upstreamTarget()
      The upstream target of this binding.
      Returns:
      upstream target.
    • restrictUpstreamToMetadataDiscovery

      default boolean restrictUpstreamToMetadataDiscovery()
      If set true, the upstream target must only be used for metadata discovery.
      Returns:
      true if the target must be restricted to metadata discovery.
    • nodeId

      @Nullable Integer nodeId()
      Returns the broker node id associated with this endpoint. If the endpoint is being used for bootstrapping, null will be returned instead.
      Returns:
      node id or null.