Class SourceOfFlume

java.lang.Object
org.apache.flume.source.BasicSourceSemantics
org.apache.flume.source.AbstractPollableSource
org.apache.pulsar.io.flume.sink.SourceOfFlume
All Implemented Interfaces:
org.apache.flume.conf.BatchSizeSupported, org.apache.flume.conf.Configurable, org.apache.flume.lifecycle.LifecycleAware, org.apache.flume.NamedComponent, org.apache.flume.PollableSource, org.apache.flume.Source

public class SourceOfFlume extends org.apache.flume.source.AbstractPollableSource implements org.apache.flume.conf.BatchSizeSupported
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flume.PollableSource

    org.apache.flume.PollableSource.Status
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doConfigure(org.apache.flume.Context context)
     
    org.apache.flume.PollableSource.Status
     
    void
     
    void
     
    long
     

    Methods inherited from class org.apache.flume.source.AbstractPollableSource

    configure, getBackOffSleepIncrement, getMaxBackOffSleepInterval, process

    Methods inherited from class org.apache.flume.source.BasicSourceSemantics

    getChannelProcessor, getLifecycleState, getName, getStartException, isStarted, setChannelProcessor, setLifecycleState, setName, start, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.flume.lifecycle.LifecycleAware

    getLifecycleState, start, stop

    Methods inherited from interface org.apache.flume.NamedComponent

    getName, setName

    Methods inherited from interface org.apache.flume.Source

    getChannelProcessor, setChannelProcessor
  • Field Details

  • Constructor Details

    • SourceOfFlume

      public SourceOfFlume()
  • Method Details

    • doStart

      public void doStart()
      Specified by:
      doStart in class org.apache.flume.source.BasicSourceSemantics
    • doStop

      public void doStop()
      Specified by:
      doStop in class org.apache.flume.source.BasicSourceSemantics
    • doConfigure

      public void doConfigure(org.apache.flume.Context context)
      Specified by:
      doConfigure in class org.apache.flume.source.BasicSourceSemantics
    • doProcess

      public org.apache.flume.PollableSource.Status doProcess()
      Specified by:
      doProcess in class org.apache.flume.source.AbstractPollableSource
    • getBatchSize

      public long getBatchSize()
      Specified by:
      getBatchSize in interface org.apache.flume.conf.BatchSizeSupported