DEV Community

Discussion on: Kafkajs & NestJS with Typescript Simplified Example

Collapse
rajeshkumarbehura profile image
Rajesh Kumar Author

Making KafkaModule as global like database connection, in every module you do not need to inject KafkaModule. If you do not want kafka module as global, then "class KafkaModule",. you need modify. Create as normal Module class as per nestjs