Flume notes about the event

Source: Internet
Author: User

Use the event object in flume as the format for passing data.

Sources end of the Org.apache.flume.serialization package in the Flume-ng-core subproject, there is a class called Linedeserializer, which is responsible for reading the data in rows, each of which is encapsulated as an event (implementation: Read by Byte When "\ n" is encountered, it is encapsulated as an event return, the next time the event is acquired, the next byte is retrieved and judged). The list<event> is then encapsulated by the value of the bulk transfer set by the user.

Not finished, to be continued ...

Flume notes about the event

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.