based off Confluent cloud - Kafka - Node.js

Setup - Confluent cloud

add topic

Untitled

default partitions is 6

Untitled

then use Producer and Consumer code here

Confluent cloud - Kafka - Node.js

install node-rdkafka