What it is responsible for
Microservices manages the package-level entry surface for microservice-related work:normalizedPatternrouteClientsModuleWhat it refuses
The subsystem rejects these conditions:
- when
InvalidGrpcServiceException.!clientRef - when
No consumer initialized. Please, call the "connect" method first..!this._consumer - when
No producer initialized. Please, call the "connect" method first..!this._producer - when
Not initialized. Please call the "connect" method first..!this.client - when
InvalidKafkaClientTopicException.isUndefined(minimumPartition) - when
Not initialized. Please call the "connect" method first..!this.mqttClient
What it needs, and who needs it
Microservices has no dependencies listed within this repository. It is depended on byIntegrationintegration/microservices/src/tcp-tlssample/03-microservices/src/mathsample/04-grpc/src/heropackages/microservicesNotable members
ClientsModulenormalizedPatternroutepackages/microservicesWhat it is made of
Its 435 entities sit in 120 files underpackages/microserviceskafka.interface.tsServerWhere work enters
It publishes 2GET- —
normalizedPattern:150packages/microservices/server/server.ts - —
route:168packages/microservices/server/server.ts - —
ClientsModule:17packages/microservices/module/clients.module.ts
How it refuses and fails
33 of its components record a refusal or a failure handler. 31 of them refuse work outright, under a condition written into the component itself. TheircatchBoundaries
4 other subsystems depend on this one —IntegrationTcp TlsMathHeroIntegrationClientProxyClientGrpcIt depends on no other subsystem in this repository — it is a leaf.
How this code is named
These conventions cover most of the codebase. Learning them is faster than reading an index — each one lets you find any member of its family without looking it up.
| Pattern | Where | Count | Examples |
|---|---|---|---|
| across the repository | 20 | |
| | 14 | |
| | 7 | |
| | 7 | |
Was this page helpful?