Flume
- Distributed data collection service
- Gets streaming event data from different sources
- Moves large amount of log data from many different sources to a centralized data store.
Note: We cannot use flume to get relational data
Types of Network Streams
- Avro
- Thrift
- Syslog
- Netcat
Use Case
- Sentiment Analysis and Brand Reputation
- Analyzing data streams to help deliver insights
- Quality Control and Production Improvement
Ex: Collecting logs from different banks server
Note:
Flume is a posix based file system.Assumes 60% data is written. The half written can be used.
Flow of data
source --> Channel --> Sink -> run inside daemon process known as agent
Channel
- We can have more then one channel
- It is the holding area where events are stored before it is passed to the sink
Sink
Process the events only through the channelAgent
- Is responsible for source, sink and channel
- Can have multiple channels,source, sinks
Flume Event
- Actual payload contains data, timestamp and actual message
- Divided into 2 parts
Header
- There could be zero headers or multiple headers
- Headers are stored as key value pairs
- Host IP and timestamp information in the header
Payload
Array of bytes which contains the actual data
Interceptors
- Any events which needs to be sent from the source to the channel can be intercepted by Interceptors
- We can have interceptors between channel and the sync
- We can have multiple interceptors.Each interceptors can have logic for filter or enrich data
Channel Selectors
- Exits between source and channel
- Decides where the flume event should go.
- All the channel or a particular channel
Types of channel selectors
Replicating channel selectorPuts copy of the flume events in all the channels
Multiplexing channel selector
- It can write based on selected channel information
- It can write to different channel based on header information
Routing
Interceptors and selectors would define routingSync Processor
Is the mechanism by which we can create fail over parts load balancing
These posts are very superb! I must say to you it was really helpful for us and I am waiting for your more different kinds of posts. Thank you!!!
ReplyDeleteLinux Training in Chennai
Linux Course in Chennai
Best Linux Training Institute in Chennai
Excel Training in Chennai
Corporate Training in Chennai
Embedded System Course Chennai
Linux Training in OMR
Linux Training in Velachery
I would definitely thank the admin of this blog for sharing this information with us. Waiting for more updates from this blog admin.
ReplyDeleteSalesforce Course in Chennai
salesforce training institute in chennai
Angularjs Course in Chennai
Ethical Hacking Course in Chennai
Tally Course in Chennai
Salesforce Training in Chennai
Salesforce Training
I would surely appreciate the author of this blog for giving the info in a very comprehensive and easy to understand manner.
ReplyDeleteIELTS Coaching in Tambaram
IELTS Coaching Centre in Tambaram
IELTS Training in Tambaram
IELTS Coaching In Velachery
IELTS Coaching Centre in Velachery
IELTS Training in Velachery
IELTS Coaching in T Nagar
IELTS Classes in T Nagar
IELTS Training in T Nagar
Nice idea,keep sharing your ideas with us.i hope this information's will be helpful for the new learners.
ReplyDeleteiOS Training in Chennai
iOS Course in Chennai
JAVA Training in Chennai
Python Training in Chennai
Hadoop Training in Chennai
Software testing training in chennai
IOS Training in Chennai
iOS Training in Velachery
This is really impressive post, I am inspired with your post, do post more blogs like this, I am waiting for your blogs.
ReplyDeleteAviation Academy in Chennai
Air hostess training in Chennai
Airport management courses in Chennai
Ground staff training in Chennai
best aviation academy in Chennai
air hostess academy in Chennai
Airline Courses in Chennai
airport ground staff training in Chennai
good work done and keep update more.i like your information's and that is very much useful for readers.
ReplyDeleteHadoop Training in Chennai
Big data training in chennai
hadoop training in velachery
JAVA Training in Chennai
Python Training in Chennai
Selenium Training in Chennai
Hadoop training in chennai
Big data training in chennai
big data course in chennai
You should remind your staff of your company's journey over the past few years and make sure they clearly understand where you plan to take it in the next few years. Salesforce training in Hyderabad
ReplyDeleteThat gives off an impression of being brilliant anyway I am as yet not very sure that I like it. At any rate will look unmistakably more into it and choose actually! SEO consultant
ReplyDelete