org.apache.flume.agent.embedded
Class EmbeddedSource
java.lang.Object
org.apache.flume.source.AbstractSource
org.apache.flume.agent.embedded.EmbeddedSource
- All Implemented Interfaces:
- Configurable, EventDrivenSource, LifecycleAware, NamedComponent, Source
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class EmbeddedSource
- extends AbstractSource
- implements EventDrivenSource, Configurable
Simple source used to allow direct access to the channel for the Embedded
Agent.
EmbeddedSource
public EmbeddedSource()
configure
public void configure(Context context)
- Description copied from interface:
Configurable
Request the implementing class to (re)configure itself.
When configuration parameters are changed, they must be
reflected by the component asap.
There are no thread safety guarrantees on when configure might be called.
- Specified by:
configure
in interface Configurable
put
public void put(Event event)
throws ChannelException
- Throws:
ChannelException
putAll
public void putAll(List<Event> events)
throws ChannelException
- Throws:
ChannelException
Copyright © 2009-2013 Apache Software Foundation. All Rights Reserved.