Closed ruscon closed 4 years ago
Would you like to create a PR?
Yep, if you OK with the IncomingKafkaMessage
interface.
I've spent some time on this and I decided that we shouldn't be adding interfaces unrelated to NestJS. This particular one should be added to the kafkajs library instead (or typings of this library). The IncomingMessage
doesn't contain anything specifically related to NestJS.
Feature Request
feat(microservice): add Kafka transport IncomingMessage interface
Is your feature request related to a problem? Please describe.
In the documentation https://docs.nestjs.com/microservices/kafka IncomingMessage interface is indicated
This interface is missing in the
@nestjs/microservice
Describe the solution you'd like
Maybe it should be added to the
@nestjs/microservice
Kafka interfaces?the real incoming message example
so, the interface could be