Install Eclipse

Go to https://eclipse.org. Click on the Download button. Click on Eclipse IDE for Java EE Developers. Click on: EclipseSource and then Eclipse IDE for Eclipse Committers, which is the standard Elipse package. Click on the appropriate machine type. Once downloaded, untar it. Click on the Eclipse icon in the download directory and Eclipse will launch.

Install Java

Note: Use JDK 8. If OpenJDK is already installed, switch to Oracle JDK. To download the Java binaries, refer to the below link: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Select the most current version, accept the license agreement, and download the appropriate JDK. The download may take a couple of minutes. Put $JAVA_HOME in $PATH, if it is not already … Read More

Install Kafka

Choose the Kafka version that matches the Scala version. For example: If using scala 2.11, then download kafka_2.11-0.9 (asc, md5) Once downloaded, untar kafka_2.11-0.9.tgz Once Kafka is installed, add Kafka to $PATH. Note: On Linux, use .bashrc. On Mac, use .bash_profile. Use a favorite editor to modify .bash_profile or .bashrc. For example, on the Mac, … Read More

Install SBT

Use SBT version 0.13.7. Now add sbt to .bashrc. Note: On Linux, use .bashrc. On Mac, use .bash_profile. Use a favorite editor to modify .bash_profile or .bashrc. For example, on the Mac, first verify there are admin privileges: sudo -v If the Password prompt is returned, this indicates admin privileges. Then type: sudo vim ~/.bash_profile … Read More

Install Scala

Download the Scala 2.11.7 binaries: http://www.scala-lang.org/download/2.11.7.html Add scala and scalac to $PATH, if is is not already there. Note: On Linux, use .bashrc. On Mac, use .bash_profile. Use a favorite editor to modify .bash_profile or .bashrc. For example, on the Mac, first verify if there are admin privileges: sudo -v If the Password prompt is … Read More

Install ZooKeeper

Note: ZooKeeper must be installed before Kafka is installed. Download ZK from the right mirror here. Click the http://www.us.apache.org/dist/zookeeper/ link. Click the current stable release. Click on zookeeper-3.4.6.tar.gz. Once ZooKeeper is downloaded, untar it. Then, add Zookeeper to .bashrc. Note: On Linux, use .bashrc. On Mac, use .bash_profile. Use a favorite editor to modify .bash_profile … Read More

Installation Steps for the Advanced Developer’s Guide

Before proceeding, make sure to download the Kamanja source code. In .bash_profile (if on a MAC) or .bashrc (if on Windows), make sure $KAMANJA_HOME points to the 1.6 installation. These are all the installation steps. Click Start to start the steps. Follow each step in order. Alternatively, click on each step name below. Step 1: … Read More

Prerequisites

Port 7800 Kamanja uses port 7800 for JGroups to replicate and distribute cached Ehcache data over TCP. Port 7800 is restricted for Kamanja/Kafka processes only. Prerequisites Here are the prerequisites. There are details later regarding how to check whether these prerequisites have been met. CentOS/RedHat/OS X (virtual machine for Windows) ~ 400 MB for installation … Read More

RPM

Introduction to RPM RPM, http://www.rpm.org/, is a package manager that provides all of the features needed to manage applications, including a database of installed packages with their version numbers, the ability to install, remove, and update packages, and the ability to recompile an application from a source code RPM package. The Kamanja RPM package’s purpose … Read More

Run easyInstallKamanja.sh

Now that some of the key components have been installed, run easyInstallKamanja.sh to get the binaries directories. First, create an empty directory: cd /Users/userid/Downloads mkdir installKamanja Then, run easyInstallKamanja.sh: cd /Users/userid/Downloads/Kamanja-version_number/trunk/SampleApplication/EasyInstall ./easyInstallKamanja.sh <install path> <src tree trunk directory> <ivy directory path for dependencies> <kafka installation path> For example: bash /Users/<userid>/Downloads/Kamanja-<version number>/trunk/SampleApplication/EasyInstall/easyInstallKamanja.sh /Users/<userid>/Downloads/installKamanja /Users/<userid>/Downloads/Kamanja-<version number>/trunk ~/.ivy2 … Read More