Skip to content
English

isKnownGrpcServiceName

isKnownGrpcServiceName(requested, packageName, serviceName): boolean

Defined in: src/io/broker/GrpcServerActor.ts:484

Does a HealthCheckRequest.service address this server?

The empty string is the protocol’s “whole server” probe. The fully-qualified <package>.<service> name is what grpc_health_probe -service=… and the Kubernetes gRPC probe send. The bare service name is accepted as a convenience — it is what people type, and being lenient can only turn a spurious NOT_FOUND into a real answer, never a wrong one. The health service’s own name is accepted because it is registered too.

string

string

string

boolean