Building from source
Get the code
Check out the code:
git clone git://linkedin.github.com/sensei.git
Build
Sensei builds using Apache Maven.
The Sensei Kafka gateway uses the latest build of Kafka. Since Kafka is not yet mavenized, we will have to install it manually to our local repository. To do this, simply do: ./bin/mvn-install.sh
Now we can build, with: ./bin/build.sh
Code structure
The following is a quick overview of important directories in the Sensei repository:
- bin - shell scripts
- example - Sensei examples
- cars - cars example
- hadoop-indexing - example for hadoop indexing
- tweets - tweets example
- docs - documentation, docbook sources
- clients - client libraries
- java-client
- javascript
- python
- sensei-core - source code the real guts of Sensei
- sensei-gateways - a collection of Sensei gateways
- sensei-hadoop-indexing - hadoop indexing support
- sensei-war - war packaging of a sensei node, for running in a container