#kafkatutorial #apachekafka #kafkainstallation #ubuntuvm
In this tutorial you will be able to install Apache Kafka on Ubuntu VM with help of instructions mentioned in video. Below are some links and scripts for your reference.
=====================Prerequisites=============================
1. Install Java 8 or above
==============================================================
2. Download Apache Kafka from official site mentioned below
https://kafka.apache.org/downloads
3. Extract tar file
tar -xvf FileName
4. Update path in .bashrc
5. Start Zookeeper
bin/zookeeper-server-start.sh config/zookeeper.properties
6. Start Broker
bin/kafka-server-start.sh config/server.properties
7. Create topic
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test-topic
8. Start console producer
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test-topic
9. Start console consumer
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test-topic --from-beginning
Download
0 formats
No download links available.
Apache Kafka Tutorial - Part 2 | Apache Kafka installation on Ubuntu VM | NatokHD