Usage and Deployment Instruction:
Step 1: Open Putty for SSH
Step 2: Open Putty and Type <instance public IP> at “Host Name”

Step 3: Open Connection->SSH->Auth tab from Left Side Area
Step 4: Click on browse button and select ppk file for Instance and then click on Open

Step 5: Type "ubuntu" as user name Password auto taken from PPK file

Step 5.1: If you get any update option from Ubuntu, then you have to follow the following steps:

After then follow the following commands
$ sudo su
$ apt-get update

$ apt-get upgrade

Step 6: Use following Linux command to Start Kafka and Zookeeper
Step 6.1: $ sudo su kafka
systemctl start kafka
systemctl start zookeeper


Step 6.2: Testing Kafka Server
~/kafka/bin/kafka-topics.sh --create --topic test-topic --bootstrap-server localhost:9092
(Where <Your test-topic Name> should be unique name)
Step 6.3: Now, publish a sample messages to Apache Kafka topic called test-topic by using the following producer command:
echo "Hello, World" | ~/kafka/bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test-topic

Step 6.4: Now, use consumer command to check for messages on Apache Kafka Topic called testing by running the following command:
~/kafka/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test-topic --from-beginning
Enjoy your Application.
