Posts

Showing posts with the label kafka

zookeeper installation in ubuntu

There are many ways in install and manage zookeeper. This post discusses on installing zookeeper using apt-get way in ubuntu. Installing Zookeeper  First install Java. sudo apt-get install zookeeperd Test the installation ruok/imok do a telnet of localhost or System's IP address telnet localhost 2181 $ telnet localhost 2181 Trying ::1... Connected to localhost. Escape character is '^]'. ruok imok Connection closed by foreign host. During telnet, ruok is typed by the user. And zookeeper responds with 'imok' if the installation is done.  version and status check During telnet, type 'status' and zookeeper responds with version of zookeeper and other information. $ telnet localhost 2181 Trying ::1... Connected to localhost. Escape character is '^]'. status Zookeeper version: 3.4.5--1, built on 06/10/2013 17:26 GMT Clients:  /0:0:0:0:0:0:0:1:35554[0](queued=0,recved=1,sent=0) Latency min/avg/max: 0/0/0 Received: 4 Sent: 3 Connections: 1 Outstanding: 0 Zxi...

Queuing Systems - Kafka and Others

why kafka and not others like rabbitMQ, ActiveMQ ? Kafka is more scalable and good abstractions