flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajalakshmi Ramesh <rrajalaks...@gatech.edu>
Subject Re: How to drop an event within a Decorator
Date Fri, 16 Mar 2012 04:54:56 GMT
try redirecting them to NullSink. That will be the easiest method.

Thanks & Regards
Rajalakshmi (Raji) Ramesh
-------------------------------------------------------
Graduate Student
Georgia Institute of Technology
Atlanta, GA
-------------------------------------------------------



On Fri, Mar 16, 2012 at 12:19 AM, James Stewart <
James.Stewart@optiver.com.au> wrote:

>  Hello all,****
>
> ** **
>
> I’m using Flume OG and attempting to write a decorator to filter events
> based on body text. The decorator will sit in front of the agent, so
> dropped events will not affect checksums etc.****
>
> ** **
>
> The actual filtering seems simple enough, but I can’t find any mention of
> the correct way to ‘drop’ an event from within a decorator.****
>
> ** **
>
> Can anybody enlighten me?****
>
> ** **
>
> Thanks,****
>
> ** **
>
> James****
>
> ------------------------------
> Information contained in this communication (including any attachments) is
> confidential and may be privileged or subject to copyright. If you have
> received this communication in error you are not authorised to use the
> information in any way and Optiver requests that you notify the sender by
> return email, destroy all copies and delete the information from your
> system. Optiver does not represent, warrant or guarantee that this
> communication is free from computer viruses or other defects or that the
> integrity of this communication has been maintained. Any views expressed in
> this communication are those of the individual sender. Optiver does not
> accept liability for any loss or damage caused directly or indirectly by
> this communication or its use.
>
> Please consider the environment before printing this email.
>

Mime
View raw message