DEV Community 👩‍💻👨‍💻

Discussion on: Kafkajs & NestJS with Typescript Simplified Example

Collapse
 
prettydev profile image
Max

Thanks for your tutorial.
Here, could you describe in detail the port 9092?
And so is this a Kafka server or client?
I checked the repo, but confusing because it's different than nestjs official documentation for Kafka.

Collapse
 
rajeshkumarbehura profile image
Rajesh Kumar Author

Here in this example, I am running kafka server in docker container in local machine. (github.com/rajeshkumarbehura/ts-ne...) .
Application to kafka server communication happens using 9092 port.
I have updated readme file to make easy understanding. I added new Kafdrop UI docker-compose to monitor kafka.
Nestjs kafka documentation has different approach which was very confusing and make kafka integration more confuse.