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

Switch to Plain View
Flume >> mail # user >> Are the interceptors expected to be thread-safe?


+
ZORAIDA HIDALGO SANCHEZ 2013-08-26, 13:25
Copy link to this message
-
Re: Are the interceptors expected to be thread-safe?
Zoraida,

You can take a look at the source code for the following interceptors to
see how they are implemented.

http://flume.apache.org/releases/content/1.4.0/apidocs/org/apache/flume/interceptor/package-summary.html

They do have member fields (attributes) and they are mostly private.

http://flume.apache.org/source.html

You can also grab the source code from git and then navigate to the
folders/package that contains these classes.

*$ git clone http://git-wip-us.apache.org/repos/asf/flume.git flume*
*Author and Instructor for the Upcoming Book and Lecture Series*
*Massive Log Data Aggregation, Processing, Searching and Visualization with
Open Source Software*
*http://massivelogdata.com*
On 26 August 2013 09:25, ZORAIDA HIDALGO SANCHEZ <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> can I create an interceptor with member attributes?
>
> Thanks.
>
>
+
Hari Shreedharan 2013-08-27, 18:15