flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Stewart <James.Stew...@Optiver.com.au>
Subject RE: How to drop an event within a Decorator
Date Fri, 16 Mar 2012 06:32:53 GMT
Thanks Raji, though that begs the question, how does one redirect to NullSink from within a

Basically I need to do this:

if (event body matches allowed regex):
    allow through
    redirect to NullSink (or drop some other way)



From: Rajalakshmi Ramesh [mailto:rrajalakshmi@gatech.edu]
Sent: Friday, 16 March 2012 3:55 PM
To: flume-user@incubator.apache.org
Subject: Re: How to drop an event within a Decorator

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<mailto:James.Stewart@optiver.com.au>>
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

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?



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.

View raw message