mirror of https://github.com/grpc/grpc-node.git
|
||
---|---|---|
.. | ||
deps | ||
interop | ||
proto/grpc/testing | ||
scripts | ||
src | ||
test | ||
.eslintrc.json | ||
.prettierrc.js | ||
README.md | ||
gulpfile.ts | ||
package.json | ||
tsconfig.json |
README.md
@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.2.x.
Installation
npm install @grpc/grpc-js-xds
Usage
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 (experimental, disabled by default, enabled by setting the environment variable
GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION=true
)