Uses of Class
io.kroxylicious.proxy.service.HostPort
Packages that use HostPort
Package
Description
io.kroxylicious.proxy.internal contains Kroxylicious internal code implementing Proxying functionality using Netty.
-
Uses of HostPort in io.kroxylicious.proxy.bootstrap
Methods in io.kroxylicious.proxy.bootstrap that return HostPortModifier and TypeMethodDescriptionMethod parameters in io.kroxylicious.proxy.bootstrap with type arguments of type HostPort -
Uses of HostPort in io.kroxylicious.proxy.config
Methods in io.kroxylicious.proxy.config that return HostPortModifier and TypeMethodDescriptionTargetCluster.bootstrapServer()PortIdentifiesNodeIdentificationStrategy.getBootstrapAddress()Methods in io.kroxylicious.proxy.config that return types with arguments of type HostPortConstructors in io.kroxylicious.proxy.config with parameters of type HostPortModifierConstructorDescriptionPortIdentifiesNodeIdentificationStrategy(HostPort bootstrapAddress, String advertisedBrokerAddressPattern, Integer nodeStartPort, List<NamedRange> nodeIdRanges) -
Uses of HostPort in io.kroxylicious.proxy.internal
Method parameters in io.kroxylicious.proxy.internal with type arguments of type HostPortModifier and TypeMethodDescriptionvoidClientConnectionStateMachine.setUpstreamAddressResolver(Function<Integer, Optional<HostPort>> resolver) Sets the resolver used byClientConnectionStateMachine.forwardToNode(int, java.lang.String, java.lang.Object)to translate a virtual node ID to an upstream address.voidPortConflictDetector.validate(Collection<VirtualClusterModel> virtualClusterModelMap, Optional<HostPort> otherExclusivePort) Validates the configuration throwing an exception if a conflict is detected. -
Uses of HostPort in io.kroxylicious.proxy.internal.net
Methods in io.kroxylicious.proxy.internal.net that return HostPortModifier and TypeMethodDescriptionEndpointGateway.getAdvertisedBrokerAddress(int nodeId) Advertised address of broker with the given node id, (advertised hostname and advertised port).EndpointGateway.getBrokerAddress(int nodeId) Broker address for given nodeId.EndpointGateway.getClusterBootstrapAddress()Bootstrap address.BootstrapEndpointBinding.upstreamTarget()BrokerEndpointBinding.upstreamTarget()Returns the value of theupstreamTargetrecord component.EndpointBinding.upstreamTarget()The upstream target of this binding.MetadataDiscoveryBrokerEndpointBinding.upstreamTarget()Methods in io.kroxylicious.proxy.internal.net that return types with arguments of type HostPortModifier and TypeMethodDescriptionEndpointGateway.discoveryAddressMap()Map of node ids to broker addresses.EndpointReconciler.upstreamAddress(EndpointGateway gateway, int upstreamNodeId) Returns the upstream address for the given upstream node ID (note this may be a physical node id, or a virtual node id if routing enabled), as last reconciled for the virtual cluster identified bygateway.EndpointRegistry.upstreamAddress(EndpointGateway gateway, int upstreamNodeId) Methods in io.kroxylicious.proxy.internal.net with parameters of type HostPortModifier and TypeMethodDescriptionEndpointGateway.getBrokerIdFromBrokerAddress(HostPort brokerAddress) Generates the node id implied by the given broker address (advertised hostname and bind port).Method parameters in io.kroxylicious.proxy.internal.net with type arguments of type HostPortModifier and TypeMethodDescriptionEndpointReconciler.reconcile(EndpointGateway virtualClusterModel, Map<Integer, HostPort> upstreamNodes) Reconciles the existing set endpoints for this virtual cluster against those required for the current set of nodes for this virtual cluster.EndpointRegistry.reconcile(EndpointGateway virtualClusterModel, Map<Integer, HostPort> upstreamNodes) Reconciles the current set of bindings for this virtual cluster against those required by the current set of nodes.Constructors in io.kroxylicious.proxy.internal.net with parameters of type HostPortModifierConstructorDescriptionBrokerEndpointBinding(EndpointGateway endpointGateway, HostPort upstreamTarget, Integer nodeId) Creates an instance of aBrokerEndpointBindingrecord class. -
Uses of HostPort in io.kroxylicious.proxy.internal.routing
Methods in io.kroxylicious.proxy.internal.routing that return HostPortMethods in io.kroxylicious.proxy.internal.routing that return types with arguments of type HostPortModifier and TypeMethodDescriptionUpstreamClusterModel.bootstrapServersList()RouterDispatchHandler.resolveRouterNodeAddress(int virtualNodeId) Returns the upstream address for the given virtual node ID, as learned from the most recent internal METADATA response. -
Uses of HostPort in io.kroxylicious.proxy.model
Methods in io.kroxylicious.proxy.model that return HostPortModifier and TypeMethodDescriptionVirtualClusterModel.VirtualClusterGatewayModel.getAdvertisedBrokerAddress(int nodeId) VirtualClusterModel.VirtualClusterGatewayModel.getBrokerAddress(int nodeId) VirtualClusterModel.VirtualClusterGatewayModel.getClusterBootstrapAddress()Methods in io.kroxylicious.proxy.model that return types with arguments of type HostPortModifier and TypeMethodDescriptionVirtualClusterModel.VirtualClusterGatewayModel.discoveryAddressMap()Methods in io.kroxylicious.proxy.model with parameters of type HostPortModifier and TypeMethodDescriptionVirtualClusterModel.VirtualClusterGatewayModel.getBrokerIdFromBrokerAddress(HostPort brokerAddress) -
Uses of HostPort in io.kroxylicious.proxy.service
Methods in io.kroxylicious.proxy.service that return HostPortModifier and TypeMethodDescriptiondefault HostPortNodeIdentificationStrategy.getAdvertisedBrokerAddress(int nodeId) Advertised address of broker with the given node id, (advertised hostname and advertised port).NodeIdentificationStrategy.getBrokerAddress(int nodeId) Address of broker with the given node id, (advertised hostname and bind port).NodeIdentificationStrategy.getClusterBootstrapAddress()Address of the cluster's bootstrap address.static HostPortParses a host port pair from a string representation.Methods in io.kroxylicious.proxy.service that return types with arguments of type HostPortModifier and TypeMethodDescriptionNodeIdentificationStrategy.discoveryAddressMap()Map of discovery addresses that will be bound by the virtual cluster on start-up (before the first reconcile has taken place).Methods in io.kroxylicious.proxy.service with parameters of type HostPortModifier and TypeMethodDescriptiondefault IntegerNodeIdentificationStrategy.getBrokerIdFromBrokerAddress(HostPort brokerAddress) Generates the node id implied by the given broker address (advertised hostname and bind port).