Package io.grpc.xds
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/5288")
package io.grpc.xds
Library for gPRC proxyless service mesh using Envoy xDS protocol.
The package currently includes a name resolver plugin and a family of load balancer plugins.
A gRPC channel for a target with "xds:" scheme will load the plugins and a
bootstrap file, and will communicate with an external control plane management server (e.g.
Traffic Director) that speaks Envoy xDS protocol to retrieve routing, load balancing, load
reporting configurations etc. for the channel. More features will be added.
The library is currently in an agile development phase, so API and design are subject to breaking changes.
-
ClassDescriptionThe provider for the "cds" balancing policy.The provider for the cluster_impl load balancing policy.The provider for the cluster_manager load balancing policy.The provider for the cluster_resolver load balancing policy.The CSDS service provides information about the status of a running xDS client.Defines gRPC data types for Envoy protobuf messages used in xDS protocol on the server side, similar to how
EnvoyProtoDatadefines it for the client side.Internal accessors for GrpcBootstrapperImpl.This class exposes some functionality in RbacFilter to other packages.Accessor for global factory for managing XdsClient instance.Internal attributes used for xDS implementation.Provider for the "least_request_experimental" balancing policy.Provider for priority load balancing policy.The provider for the "ring_hash_experimental" balancing policy.Utility class that provides a way to configure ring hash size limits.Provides aWeightedRoundRobinLoadBalancer.The provider for the weighted_target balancing policy.The provider forWrrLocalityLoadBalancer.Provider of credentials which can be consumed by clients for xds communications.A provider forXdsNameResolver.A version ofServerBuilderto create xDS managed servers.Applications can register this listener to receive "serving" and "not serving" states of the server usingXdsServerBuilder.xdsServingStatusListener(XdsServingStatusListener).