September 2017
Beginner to intermediate
360 pages
8h 13m
English
As discussed in Chapter 4, Setting up the Infrastructure for Storm, Storm has spouts and bolts. The Casandra bolt is required to persist records. There are two common ways to integrate Storm with Cassandra. The first is by using the storm-cassandra built-in library where you just need to call CassndraBolt and the required parameters. The second way is by using the DataStax Cassandra library, which needs to be imported using the build manager and using the wrapper classes to make a connection with Cassandra. The following are the steps to integrate Storm with Cassandra using the DataStax library:
<dependency> <groupId>com.datastax.cassandra</groupId> <artifactId>cassandra-driver-core</artifactId> ...
Read now
Unlock full access