This is the practice code for the Confluent Kafka lessons

Local repo code

/Users/lenny/kafka/kafka-confluent

Also used in ‣

Apache Kafka®: Basic Concepts, Architecture, and Examples

Initial Confluent setup here:

Kafka Tutorial: Build an Event-Driven Application (for Beginners)

Node.js guide

Apache Kafka and Node.js - Getting Started Tutorial

<aside> ⚠️ When installing node-rdkafka, make sure to follow these instructions before npm install https://github.com/Blizzard/node-rdkafka/blob/master/README.md#mac-os-high-sierra--mojave

</aside>

Install Kafka library


npm i node-rdkafka

# Setup
need a kafka cluster
- use Confluent Cloud cluster for now
- copy bootstrap-server on UI

https://developer.confluent.io/get-started/nodejs/#kafka-setup

Untitled

Untitled