Apache Storm Topology used by cenote for data writing
- The
kafka-spoutSpout is connected to a kafka topic calledcenoteIncoming. - Everytime it consumes a message, it passes it down to
forwardToCassandraBolt. - This bolt (which is written in Python) connects to a cassandra keyspace called
cenote, and handles the data writing accoring to cenote's specs.
- Clone the repository:
$ git clone --recurse-submodules -j8 https://github.com/AuthEceSoftEng/cenote-write.git- Install the requirements of
cenote-cockroach:
$ cd python-src/resources/CockroachHandler
$ pip3 install -r requirements.txt-
Set up the required
.envfiles according to the provided samples in:rootdirectory of the repopython-src/resources/CockroachHandlerdirectory
-
Compile the source code:
$ mvn clean install package- Submit the topology to the cluster:
$ storm jar path/to/write-0.1.0-jar-with-dependencies.jar com.issel.cenote.WriteTopology WriteTopology