-
Notifications
You must be signed in to change notification settings - Fork 4
teknek stream stack
Teknek stream stack is designed so first time users can get started with teknek quickly. To accomplish this teknek-stream-stack builds an uber-project together the required teknek components (teknek-core, zookeeper) with several of the common systems found in most streaming applications today (Kafka, Cassandra).
Most streaming applications require some message queue to transmit data a NoSQL store for persistence. The goal of stream stack is to give users and out-of-the box experience and a simple system to prototype streaming applications to see the utility of teknek. It should not be used for production installations.
From the root of the project run sh build.sh
.
cd teknek-stream-stack
mvn clean install assembly:single
A tar file with a name similar to teknek-stream-stack-0.0.1-SNAPSHOT.tar.gz
should exist in the target directory. Create a file named streamstack.properties:
starter.embeddedzookeeper=true
starter.embeddedzookeeper.log=./target/zk_log
starter.embeddedzookeeper.snap=./target/zk_log
starter.embeddedkafka=true
starter.embeddedkafka.log=./target/kflog
Then run sh start-all.sh
.
The starter should start 4 java processes on your system. teknek-core, zookeeper, kafka, and Cassandra. The storage for these daemons is set up in the ./target directory. Next you can start teknek-web to build your first plan, or interact with the stack through your IDE.