English 中文(简体)
Apache Flume - Introduction
  • 时间:2024-12-22

Apache Flume - Introduction


Previous Page Next Page  

What is Flume?

Apache Flume is a tool/service/data ingestion mechanism for collecting aggregating and transporting large amounts of streaming data such as log files, events (etc...) from various sources to a centrapzed data store.

Flume is a highly repable, distributed, and configurable tool. It is principally designed to copy streaming data (log data) from various web servers to HDFS.

Apache Flume

Apppcations of Flume

Assume an e-commerce web apppcation wants to analyze the customer behavior from a particular region. To do so, they would need to move the available log data in to Hadoop for analysis. Here, Apache Flume comes to our rescue.

Flume is used to move the log data generated by apppcation servers into HDFS at a higher speed.

Advantages of Flume

Here are the advantages of using Flume −

    Using Apache Flume we can store the data in to any of the centrapzed stores (HBase, HDFS).

    When the rate of incoming data exceeds the rate at which data can be written to the destination, Flume acts as a mediator between data producers and the centrapzed stores and provides a steady flow of data between them.

    Flume provides the feature of contextual routing.

    The transactions in Flume are channel-based where two transactions (one sender and one receiver) are maintained for each message. It guarantees repable message depvery.

    Flume is repable, fault tolerant, scalable, manageable, and customizable.

Features of Flume

Some of the notable features of Flume are as follows −

    Flume ingests log data from multiple web servers into a centrapzed store (HDFS, HBase) efficiently.

    Using Flume, we can get the data from multiple servers immediately into Hadoop.

    Along with the log files, Flume is also used to import huge volumes of event data produced by social networking sites pke Facebook and Twitter, and e-commerce websites pke Amazon and Fppkart.

    Flume supports a large set of sources and destinations types.

    Flume supports multi-hop flows, fan-in fan-out flows, contextual routing, etc.

    Flume can be scaled horizontally.

Advertisements