Dowload Lastest Books On Hadoop

Amazon Best Deal !!

Powered by Blogger.

Tuesday, March 28, 2017

KAFKA INSTALLATION


Kafka installation

·       Install zookeeper
·      Install Kafka
·      Set the home path in .bashrc file
·      Start zookeeper

sudo bin/zkServer.sh start

·      To start Kafka server:-

sudo bin/kafka-server-start.sh config/server.properties


·      Create the Topic:-

bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic hellokafka


·      Start Producer to Send Messages:-

 bin/kafka-console-producer.sh --broker-list localhost:9092 --topic hellokafka



·      Start Consumer to Receive Messages:-

bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic hellokafka --from-beginning






2 comments:

  1. it is very excellent blog and useful article thank you for sharing with us , keep posting learn more about Big Data Hadoop
    important information thank you providing this important information on
    Big Data Hadoop Online Course Hyderbad

    ReplyDelete
  2. Are you interested in doing Data Science Training in Chennai with a Certification Exam? Catch the best features of Data Science training courses with Infycle Technologies, the best Data Science Training & Placement institutes in and around Chennai. Infycle offers the best hands-on training to the students with the revised curriculum to enhance their knowledge. In addition to the Certification & Training, Infycle offers placement classes for personality tests, interview preparation, and mock interviews for clearing the interviews with the best records. To have all it in your hands, dial 7504633633 for a free demo from the experts.

    ReplyDelete