Hi Deepark, I had hard time switching from OG to NG in the beginning, too. The new way in NG to make your custom source would look like this:
public class CustomSource extends AbstractSource implements PollableSource, Configurable or public class CustomSource extends AbstractSource implements EventDrivenSource, Configurable , depending on your source type. Brock's link is a good reading resource. Shumin On Tue, Sep 18, 2012 at 11:05 AM, Brock Noland <[email protected]> wrote: > Hi, > > The flume developer guide as these details: > > http://flume.apache.org/FlumeDeveloperGuide.html > > Brock > > On Tue, Sep 18, 2012 at 1:02 PM, Kumar, Deepak8 <[email protected]> > wrote: > > Hi, > > I am trying to switch from Flume 0.94 to Flume NG. In previous version > we do have the static class EventSource.Base through which we can create > our own Source or Sink. I don't find anything as such here in flume NG. > > > > Could you please guide me how do we create our own Sources here in Flume > NG? > > > > Regards, > > Deepak > > > > -- > Apache MRUnit - Unit testing MapReduce - > http://incubator.apache.org/mrunit/ >
