- Change consumers from @Injectable to @Controller for @EventPattern to work - Move consumers from providers to controllers array in module - Add subscribe.fromBeginning config to Kafka microservice The consumers were not receiving messages because NestJS microservices require @EventPattern handlers to be in @Controller classes, not just @Injectable services. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| prisma | ||
| src | ||
| .env.example | ||
| Dockerfile | ||
| nest-cli.json | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||