September 2017
Beginner to intermediate
360 pages
8h 13m
English
Flume is the most famous project of Apache for log processing. To download it, refer to the following link: https://flume.apache.org/download.html. Download the apache-flume-1.7.0-bin.tar.gz Flume setup file and unzip it, as follows:
cp apache-flume-1.7.0-bin.tar.gz ~/demo/ tar -xvf ~/demo/apache-flume-1.7.0-bin.tar.gz
The extracted folders and files will be as per the following screenshot:
We will demonstrate the same example that we executed for the previous tools, involving reading from a file and pushing to a Kafka topic. First, let's configure the Flume file:
a1.sources = r1
a1.sinks = k1
a1.channels = c1
a1.sources.r1.type = TAILDIR ...Read now
Unlock full access