@grpc/grpc-js-xds
v1.14.0
Published
Plugin for @grpc/grpc-js. Adds the xds:// URL scheme and associated features.
Keywords
Readme
@grpc/grpc-js xDS plugin
This package provides support for the xds:// URL scheme to the @grpc/grpc-js library. The latest version of this package is compatible with @grpc/grpc-js version 1.13.x.
Installation
npm install @grpc/grpc-js-xdsUsage
import * as grpcJsXds from '@grpc/grpc-js-xds';
grpcJsXds.register();
// ...get a @grpc/grpc-js Client class as usual
const client = new MyServiceClient('xds:///example.com:123');Supported Features
- xDS-Based Global Load Balancing
- xDS traffic splitting and routing
- xDS v3 API
- xDS Timeouts
- xDS Circuit Breaking
- xDS Client-Side Fault Injection
- Client Status Discovery Service
- Outlier Detection
- xDS Retry Support
- xDS Aggregate and Logical DNS Clusters
- xDS Federation
- xDS Custom Load Balancer Configuration (Custom load balancer registration not currently supported)
- xDS Ring Hash LB Policy
pick_firstvia xDS (Currently experimental, enabled by environment variableGRPC_EXPERIMENTAL_PICKFIRST_LB_CONFIG)- xDS-Enabled Servers
- xDS-Based Security for gRPC Clients and Servers
- xDS RBAC Support
weighted_round_robinLB policy (Inclusion in xDS registry is currently experimental, enabled by environment variableGRPC_EXPERIMENTAL_XDS_WRR_LB)
