A NestJS module (v0.5.0, active development) that seamlessly integrates Netflix Eureka service discovery with gRPC clients. Automatically discovers gRPC services from Eureka, provides load-balanced client connections with random balancing, periodic instance refresh, and support for multiple services. Key differentiators: full TypeScript support, async configuration, custom instance processors, and built-in support for both direct Eureka URL and eureka-js-client integration. Released on npm under MIT license.
npm install nestjs-eureka-grpc-connectorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and configure the EurekaGRPcConnectorModule with a direct Eureka URL and one gRPC service definition.
Use import syntax or dynamic import() for CommonJS projects.
Switch to @grpc/grpc-js as the gRPC implementation.
Use 'serviceName' as the token to inject the client. It does not need to match the proto service name.
Provide full URL like 'http://eureka-server:8761/eureka/apps'.
Set 'esModuleInterop': true and 'moduleResolution': 'node16' in tsconfig.json.
Use import { EurekaGRPcConnectorModule } from 'nestjs-eureka-grpc-connector' or dynamic import().Verify the Eureka URL includes /eureka/apps, or use eureka-js-client with correct configuration.