Kafka Server Start+Setup:
- Start zookeeper bin/zookeeper-server-start.sh config/zookeeper.properties
- Start Kafka server bin/kafka-server-start.sh config/server.properties
- Create topics bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic customersTopic bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic restaurantsTopic bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic dishesTopic bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic eventsTopic bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic ordersTopic bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic conversationsTopic bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic response_topic
Frontend (:3000)
- npm install
- npm start
Backend (:3001)
- npm install
- nodemon start
Kafka-backend
- npm install
- nodemon start