tree: 593fdd5ddc2a5a6beab9693da74b0c2ec01f344a [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
  4. sql-conf.yaml
  5. tableCreation.script
external/sql/README.md

SQL module for StormCrawler

Contains a spout implementation as well as a status updater bolt and a MetricsConsumer.

The tableCreation.script is based on MySQL and is used for the creation of the tables.

Check that you have specified a configuration file such as sql-conf.yaml and have a Java driver in the dependencies of your POM

		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>5.1.31</version>
		</dependency>

You can either inject the seeds directly as done in the tutorial or reuse the injection topology from the elasticsearch module and specify the statusupdaterbolt from the mysql module instead. Another approach could be to simply to add a MemorySpout to the topology alongside the SQLSpout.