August 2017
Beginner to intermediate
284 pages
6h 51m
English
Now, we are creating a new topology, which will read the data from Kafka using the KafkaSpout spout. In this section, we are writing an ApacheLogSplitter bolt, that has a logic to fetch the IP, status code, referrer, bytes sent, and so on, information from the Apache log line. As this is a new topology, we must first create the new project.
<dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-core</artifactId> <version>1.0.2</version> <scope>provided</scope> </dependency> <!-- Utilities --> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> ...
Read now
Unlock full access