Learn how to create a kafka producer & consumer using node.js.

We will be running apache kafka in a docker container. We’ll create a producer & consumer using node.js which will read & write events to the stream. This is useful when building event driven systems.

Check out the code on Github: https://github.com/kriscfoster/node-kafka-producer-consumer

node-rdkafka - https://www.npmjs.com/package/node-rdkafka
avsc (for serialization & de-serialization) - https://www.npmjs.com/package/avsc

Don’t forget to Subscribe here: https://www.youtube.com/channel/UCWkzkhQ3syxBjjAYwqCbzYg?sub_confirmation=1

#kafka #node.js

Kafka Tutorial - Node.js Producer & Consumer
4 Likes1.85 GEEK