flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Israel Ekpo <isr...@aicer.org>
Subject Re: Flume-NG -- 2 Sources and a single Sink
Date Tue, 02 Apr 2013 11:04:26 GMT
Checkout the user guide for Flume NG instead


I would suggest that you use separate channels (preferably the FileChannel)
for each source.

I am not sure what your custom sink looks like, but if it capable of
handling multiple incoming requests simultaneously like MongoDB, Elastic
Search, Apache Solr, MySQL or CouchBase you should still be able to set
them up as separate sinks but technically all the events are going to the
same centralized store.

The user guide is more up to date and contains more examples that could
help you decide which way to go.

Review the various examples and data flow designs.

On Tue, Apr 2, 2013 at 4:25 AM, Babu, Prashanth

> Hi,
> I have been using Flume-OG till now and currently I am evaluating Flume-NG.
> I have followed the guidelines in
> http://flume.apache.org/FlumeDeveloperGuide.html.
> In my use case, I have 2 Sources on a machine, but a single custom sink.
> 2 Sources are tails on 2 different files which are configured in
> flume.conf.
> I have tried giving the same channel for both the sources, but my sink is
> getting data only from one of the sources.
> Is there any way wherein I can get data from both the sources with a
> single sink, as is required in my case?
> Please let me know.
> TIA.
> Regards,
> Prashanth.
> ______________________________________________________________________
> Disclaimer:This email and any attachments are sent in strictest confidence
> for the sole use of the addressee and may contain legally privileged,
> confidential, and proprietary data.  If you are not the intended recipient,
> please advise the sender by replying promptly to this email and then delete
> and destroy this email and any attachments without any further use, copying
> or forwarding

View raw message