Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # user >> understanding on interceptor


Copy link to this message
-
Re: understanding on interceptor
Yes. That is correct and that is exactly how it was intended to be.
Thanks
Hari

On Monday, October 1, 2012, Raymond Ng wrote:

> Hi
>
> I'd like to know if an interceptor gets invoked before or after the source
> is invoked
>
> I'm using a custom interceptor in my solution to drop events and I have
> some custom logic in my source to report stats, and it seems to me that the
> source was getting invoked for the events that should've been dropped by
> the interceptor, however these events didn't appear in the channel which is
> what I expected, but it looks to me inteceptors are sitting between a
> source and a channel rather than it being invoked before a source.  Is that
> correct and how it was intended?
>
>
> thanks
> Ray
>