Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CDAC1F0EC for ; Wed, 17 Apr 2013 06:13:22 +0000 (UTC) Received: (qmail 57137 invoked by uid 500); 17 Apr 2013 06:13:22 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 56722 invoked by uid 500); 17 Apr 2013 06:13:21 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 56693 invoked by uid 99); 17 Apr 2013 06:13:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 06:13:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jagadish.bihani@pubmatic.com designates 64.78.56.61 as permitted sender) Received: from [64.78.56.61] (HELO hub023-ca-3.exch023.serverdata.net) (64.78.56.61) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 06:13:13 +0000 Received: from [172.16.1.232] (115.112.64.6) by west.exch023.serverdata.net (10.254.8.37) with Microsoft SMTP Server (TLS) id 14.2.318.1; Tue, 16 Apr 2013 23:12:50 -0700 Message-ID: <516E3D5D.5060105@pubmatic.com> Date: Wed, 17 Apr 2013 11:42:45 +0530 From: Jagadish Bihani User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Subject: Re: "single source - multi channel" scenario and applying interceptor while writing to only one channel and not on others...possible approaches References: <516CF15C.2000509@pubmatic.com> In-Reply-To: <516CF15C.2000509@pubmatic.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi If anybody has any inputs on this that will surely help. Regards, Jagadish On 04/16/2013 12:06 PM, Jagadish Bihani wrote: > Hi > > We have a use case in which > 1. spooling source reads data. > 2. It needs to write events into multiple channels. It should apply > interceptor only when putting into one channel and should put > the event as it is while putting into another channel. > > Possible approach we have thought: > > 1. Create 2 different sources and then apply interceptor on one and dont > apply on other. But that duplicates reads and increases IO. > > Is there any better way of achieving this use case? > > Regards, > Jagadish >